Replace -mlong-double-128 with -mlong-double-64 in one of the long double finite tests, e.g. math/test-ldouble-finite-acos. After preprocessing the following code will be generated: ... extern long double acosl (long double __x) __asm__ ("" "acos") __attribute__ ((__nothrow__ , __leaf__)); ... extern long double acosl (long double) __asm__ ("" "__acos_finite") __attribute__ ((__nothrow__ , __leaf__)); The following code is compiled, recent GCC versions (tested with GCC 7 and 8) will generate the following warning/error: ./bits/math-finite.h:46:1: error: asm declaration ignored due to conflict with previous rename [-Werror=pragmas] __MATH_REDIRCALL (acos, , (_Mdouble_)); ^~~~~~~~~~~~~~~~ ./bits/math-finite.h:50:1: error: asm declaration ignored due to conflict with previous rename [-Werror=pragmas] __MATH_REDIRCALL (acosh, , (_Mdouble_)); This issue does not completely affect users because system headers are ignored for this particular warning.
I have proposed the following patch to fix this issue: https://patchwork.sourceware.org/patch/27684/ I'm reworking it.