On the AIX 7.2 machine gcc119.fsffrance.org, with xlclang as compiler,
the test-stdalign program fails:

$ ./test-stdalign 
../../gltests/test-stdalign.c:94: assertion '(uintptr_t) &(static_char_Alignas) 
% TEST_ALIGNMENT == 0' failed
IOT/Abort trap (core dumped)

This happens both in 32-bit mode and 64-bit mode.

Can someone take a look, please?

Initializations for 32-bit:
PATH=/opt/IBM/xlC/16.1.0/bin:$PATH
CC="xlclang -qthreaded -qtls"; CXX="xlclang++ -qthreaded -qtls"; export CC CXX
unset AR NM

Initializations for 64-bit:
PATH=/opt/IBM/xlC/16.1.0/bin:$PATH
CC="xlclang -q64 -qthreaded -qtls"; CXX="xlclang++ -q64 -qthreaded -qtls"; 
AR="ar -X 64"; NM="nm -X 64"; export CC CXX AR NM

Bruno


Reply via email to