This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/4] Miscellaneous 'safe' testsuite changes.
On Mon, Feb 20, 2017 at 9:52 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Mon, 20 Feb 2017, Zack Weinberg wrote:
>> atomic.h cannot be used by code compiled under _ISOMAC, but
>> stdatomic.h can. There are quite a few tests that use atomic.h; most
>> of them were not straightforward to change to stdatomic.h, but
>> nptl/tst-join7.c was, so I did that.
>
> stdatomic.h is not available before GCC 4.9, and our minimum version for
> building glibc is 4.7 (although you can't use build-many-glibcs.py with
> versions before 4.9 because of missing features for bootstrapping cross
> compilers with glibc, in particular --with-glibc-version).
I don't recall exactly what was wrong with atomic.h in _ISOMAC mode
but I suspect it is not trivial to fix. I *could* just give up here
and move tst-join7 to tests-internal, but if the "new policy" is to
use C11 atomics, perhaps that is sufficient reason to bump the minimum
version requirement to 4.9??
zw