https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956
--- Comment #5 from Maciej W. Rozycki <macro at orcam dot me.uk> --- Hmm, this seems awkward to me. It won't work AFAICT with the usual native bootstrap environment, where you just run: $ /path/to/configure && make bootstrap and it won't work where you have an old version of glibc installed and build with: $ /path/to/configure --with-cpu=power10 && make bootstrap either. Shouldn't this just use the same check that libstdc++ does? See the piece starting with: # Check for IEEE128 support in libm. in libstdc++-v3/configure.ac. Maybe you just need to check for the presence of `__frexpieee128' and ignore the rest, as you don't seem to be willing to provide support for the IBM long double format in libgm2, or do you?