https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66789
Bug ID: 66789 Summary: FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) on bare-metal targets Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: jwakely.gcc at gmail dot com Target Milestone: --- Target: aarch64-none-elf, aarch64_be-none-elf, arm-none-eabi I'm seeing the libstdc++ failures: FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) FAIL: tr1/8_c_compatibility/complex/overloads_int.cc (test for excess errors) On aarch64-none-elf and arm-none-eabi (using newlib for the libc). An example error log: FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) Excess errors: $TOP/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:238: undefined reference to `void std::__facet_shims::__numpunct_fill_cache<char>(std::integral_constant<bool, true>, std::locale::facet const*, std::__numpunct_cache<char>*, char const*&, unsigned long&)' $TOP/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:238: undefined reference to `void std::__facet_shims::__numpunct_fill_cache<wchar_t>(std::integral_constant<bool, true>, std::locale::facet const*, std::__numpunct_cache<wchar_t>*, char const*&, unsigned long&)' $TOP/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:237: undefined reference to `void std::__facet_shims::__numpunct_fill_cache<char>(std::integral_constant<bool, false>, std::locale::facet const*, std::__numpunct_cache<char>*)' $TOP/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:237: undefined reference to `void std::__facet_shims::__numpunct_fill_cache<wchar_t>(std::integral_constant<bool, false>, std::locale::facet const*, std::__numpunct_cache<wchar_t>*)' collect2: error: ld returned 1 exit status