https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66829
Bug ID: 66829 Summary: [6 Regression] FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-c heck.cc Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: jason at redhat dot com Target Milestone: --- r225272 caused: spawn -ignore SIGHUP /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/xg++ -shared-libgcc -B/export/build/gnu/gcc-32bit/build-i686-linux/./gcc -nostdinc++ -L/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/src -L/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/src/.libs -L/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/libsupc++/.libs -B/usr/gcc-6.0.0/i686-linux/bin/ -B/usr/gcc-6.0.0/i686-linux/lib/ -isystem /usr/gcc-6.0.0/i686-linux/include -isystem /usr/gcc-6.0.0/i686-linux/sys-include -B/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/include/i686-linux -I/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/include -I/export/gnu/import/git/sources/gcc/libstdc++-v3/libsupc++ -I/export/gnu/import/git/sources/gcc/libstdc++-v3/include/backward -I/export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/util /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc -fno-inline -std=gnu++11 ./testsuite_shared.so ./libtestc++.a -Wl,--gc-sections -L/export/build/gnu/gcc-32bit/build-i686-linux/i686-linux/libstdc++-v3/src/filesystem/.libs -lm -o ./dr130-linkage-check.exe /tmp/ccJO7g8A.o: In function `void __gnu_test::linkage_check_cxx98_cxx11_erase<std::multiset<int, std::less<int>, std::allocator<int> > >(std::multiset<int, std::less<int>, std::allocator<int> >&)': /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/util/testsuite_containers.h:261: undefined reference to `__gnu_test::erase_external(std::multiset<int, std::less<int>, std::allocator<int> >&)' /tmp/ccJO7g8A.o: In function `void __gnu_test::linkage_check_cxx98_cxx11_erase_iterators<std::multiset<int, std::less<int>, std::allocator<int> > >(std::multiset<int, std::less<int>, std::allocator<int> >&)': /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/util/testsuite_containers.h:272: undefined reference to `__gnu_test::erase_external_iterators(std::multiset<int, std::less<int>, std::allocator<int> >&)' collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /tmp/ccJO7g8A.o: In function `void __gnu_test::linkage_check_cxx98_cxx11_erase<std::multiset<int, std::less<int>, std::allocator<int> > >(std::multiset<int, std::less<int>, std::allocator<int> >&)': /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/util/testsuite_containers.h:261: undefined reference to `__gnu_test::erase_external(std::multiset<int, std::less<int>, std::allocator<int> >&)' /tmp/ccJO7g8A.o: In function `void __gnu_test::linkage_check_cxx98_cxx11_erase_iterators<std::multiset<int, std::less<int>, std::allocator<int> > >(std::multiset<int, std::less<int>, std::allocator<int> >&)': /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/util/testsuite_containers.h:272: undefined reference to `__gnu_test::erase_external_iterators(std::multiset<int, std::less<int>, std::allocator<int> >&)' collect2: error: ld returned 1 exit status FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-check.cc (test for excess errors) Should this test be updated since we default to C++14 now?