This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Add _arch_/_cpu_ to index_*/bit_* in x86 cpu-features.h


> Roland committed a fix which included <cpu-features.h> (commit
> 3bd80c0de2f8e7ca8020d37739339636d169957e) in tst-audit10.c I assumed
> that this addressed this particular build failure (it does for me with
> GCC 4.7).

That fixed it on the bot too, which is GCC 4.8.4.

> Ah, you removed that flag in 6aa3e97e2530f9917f504eb4146af119a3f27229.
> So you need to adjust tst-audit10 for this change.

Indeed.

> > -tests += tst-audit3 tst-audit4 tst-audit5 tst-audit6 tst-audit7 tst-audit10
> > +tests += tst-audit3 tst-audit4 tst-audit5 tst-audit6 tst-audit7
> > +
> > +ifeq (yes,$(config-cflags-avx512))
> > +tests += tst-audit10
> > +endif
> 
> The test should be marked as UNSUPPORTED instead.

That is adequately covered inside the test already (at runtime).
There is no reason to conditionalize building it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]