https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881
--- Comment #16 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- > But it does not look like the c_std headers are currently working. > I've got symlinks to non-existing c_std header files: > > ccomplex > cfenv > cinttypes > cstdalign > cstdbool > cstdint > ctgmath > > and c_std/cmath is missing the _GLIBCXX_USE_C99_FENV_TR1 stuff. > which I need, because my math.h supports that. > > Once I fix these bugs the boot-strap seems to work. > Let's see if the libstdc++ testsuite has complaints. > > Probably it will, there are many more differences > between c_global/cmath and c_std/cmath like: > > -#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO > - inline _GLIBCXX_CONSTEXPR double > + inline double > abs(double __x) > { return __builtin_fabs(__x); } > -#endif > > > but these dont make the boot-strap fail. not too bad: === libstdc++ tests === Running target unix FAIL: 17_intro/freestanding.cc (test for excess errors) UNRESOLVED: 17_intro/freestanding.cc compilation failed to produce executable FAIL: 17_intro/headers/c++1998/complex.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/14608.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/60401.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/c99_classification_macros_c++11.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/c99_classification_macros_c.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/dr550.cc (test for excess errors) UNRESOLVED: 26_numerics/headers/cmath/dr550.cc compilation failed to produce executable FAIL: 26_numerics/headers/cstdlib/60401.cc (test for excess errors) FAIL: experimental/numeric/gcd.cc (test for excess errors) FAIL: experimental/numeric/lcm.cc (test for excess errors) FAIL: special_functions/01_assoc_laguerre/compile_2.cc (test for excess errors) FAIL: special_functions/02_assoc_legendre/compile_2.cc (test for excess errors) FAIL: special_functions/03_beta/compile_2.cc (test for excess errors) FAIL: special_functions/04_comp_ellint_1/compile_2.cc (test for excess errors) FAIL: special_functions/05_comp_ellint_2/compile_2.cc (test for excess errors) FAIL: special_functions/06_comp_ellint_3/compile_2.cc (test for excess errors) FAIL: special_functions/07_cyl_bessel_i/compile_2.cc (test for excess errors) FAIL: special_functions/08_cyl_bessel_j/compile_2.cc (test for excess errors) FAIL: special_functions/09_cyl_bessel_k/compile_2.cc (test for excess errors) FAIL: special_functions/10_cyl_neumann/compile_2.cc (test for excess errors) FAIL: special_functions/11_ellint_1/compile_2.cc (test for excess errors) FAIL: special_functions/12_ellint_2/compile_2.cc (test for excess errors) FAIL: special_functions/13_ellint_3/compile_2.cc (test for excess errors) FAIL: special_functions/14_expint/compile_2.cc (test for excess errors) FAIL: special_functions/15_hermite/compile_2.cc (test for excess errors) FAIL: special_functions/16_laguerre/compile_2.cc (test for excess errors) FAIL: special_functions/17_legendre/compile_2.cc (test for excess errors) FAIL: special_functions/18_riemann_zeta/compile_2.cc (test for excess errors) FAIL: special_functions/19_sph_bessel/compile_2.cc (test for excess errors) FAIL: special_functions/20_sph_legendre/compile_2.cc (test for excess errors) FAIL: special_functions/21_sph_neumann/compile_2.cc (test for excess errors) FAIL: tr1/8_c_compatibility/cmath/overloads.cc (test for excess errors) === libstdc++ Summary === # of expected passes 10514 # of unexpected failures 32 # of expected failures 67 # of unresolved testcases 2 # of unsupported tests 540