On Thu, 10 Aug 2017, Jonathan Wakely wrote: > On 10 August 2017 at 13:05, Rolf Eike Beer wrote: > > I'm trying to build gcc 5.4.0 together with glibc 2.26. It is a cross-build to > > both AMD64 or i686 that shows problems, while ARM works. (For those who want > > to suggest a newer gcc first: no, doesn't work: https://gcc.gnu.org/bugzilla/ > > show_bug.cgi?id=70936). > > > > The problem arises from this output of configure of libgomp: > > > > checking for ISO C99 support in <math.h>... no > > You need to look at libgomp/config.log and see why this happens. Note there's an issue with (just recently released) glibc 2.26 and libstdc++ that looks related, but root cause may be different as libgomp doesn't use C++: https://sourceware.org/bugzilla/show_bug.cgi?id=21930 Alexander