On 12/15/2014 04:47 PM, David Fang wrote:
How should these results be interpreted?
_alignas and _Alignas are broken on your platform, even with gnulib trying to work around the breakage.
Is there a problem in the compiler, or rather some incorrect assumption about the ABI in the test itself? This is the system compiler, after all.
Most likely the compiler is broken. Some older GCCs do have a bug here. Gnulib knows about the breakage and attempts to work around it, but apparently this is not working for you, and you need to figure out why.
Does config.log report stdalign.h as working? If so, that's a bug in the Gnulib test in m4/stdalign.m4: it should detect the bug in your system. If not, you need to investigate why the Gnulib workaround does not in fact work around your compiler bug.