On 10 August 2017 at 14:16, Rolf Eike Beer wrote: > Am Donnerstag, 10. August 2017, 15:02:53 CEST schrieb Alexander Monakov: >> 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 > > Thanks for the pointer, that very likely is the cause (as I said before, > libgomp was a typo, it's actually libstdc++-v3). Yes, that's it.