Executing on host: /xxx/gnu/gcc/objdir/./gcc/g++ -shared-libgcc -B/xxx/gnu/gcc/o bjdir/./gcc -nostdinc++ -L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/ src -L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.libs -B/opt/gnu /gcc/gcc-4.3.0/hppa1.1-hp-hpux10.20/bin/ -B/opt/gnu/gcc/gcc-4.3.0/hppa1.1-hp-hpu x10.20/lib/ -isystem /opt/gnu/gcc/gcc-4.3.0/hppa1.1-hp-hpux10.20/include -isyste m /opt/gnu/gcc/gcc-4.3.0/hppa1.1-hp-hpux10.20/sys-include -g -O2 -D_GLIBCXX_ASSE RT -fmessage-length=0 -g -O2 -DLOCALEDIR="." -nostdinc++ -I/xxx/gnu/gcc/objdir/h ppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpux10.20 -I/xxx/gnu/gcc/obj dir/hppa1.1-hp-hpux10.20/libstdc++-v3/include -I/xxx/gnu/gcc/gcc/libstdc++-v3/li bsupc++ -I/xxx/gnu/gcc/gcc/libstdc++-v3/include/backward -I/xxx/gnu/gcc/gcc/libs tdc++-v3/testsuite/util /xxx/gnu/gcc/gcc/libstdc++-v3/testsuite/23_containers/de que/check_construct_destroy.cc -include bits/stdc++.h ./libtestc++.a -lm - o ./check_construct_destroy.exe (timeout = 600) /usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to _ZNSt3tr112_GLOBA L__N_16ignoreE" in files /var/tmp//ccsKVWMm.o and ./libtestc++.a(testsuite_alloc ator.o) /usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to _ZNSt3tr112_GLOB AL__N_16ignoreE" in files /var/tmp//ccsKVWMm.o and ./libtestc++.a(testsuite_allo cator.o) /usr/ccs/bin/ld: Found 2 duplicate symbol(s) collect2: ld returned 1 exit status compiler exited with status 1 output is: /usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to _ZNSt3tr112_GLOBA L__N_16ignoreE" in files /var/tmp//ccsKVWMm.o and ./libtestc++.a(testsuite_alloc ator.o) /usr/ccs/bin/ld: Duplicate symbol "global constructors keyed to _ZNSt3tr112_GLOB AL__N_16ignoreE" in files /var/tmp//ccsKVWMm.o and ./libtestc++.a(testsuite_allo cator.o) /usr/ccs/bin/ld: Found 2 duplicate symbol(s) collect2: ld returned 1 exit status
FAIL: 23_containers/deque/check_construct_destroy.cc (test for excess errors) This also causes the failure of these tests: FAIL: 23_containers/list/check_construct_destroy.cc (test for excess errors) FAIL: 23_containers/set/check_construct_destroy.cc (test for excess errors) FAIL: 23_containers/vector/capacity/2.cc (test for excess errors) FAIL: 23_containers/vector/check_construct_destroy.cc (test for excess errors) FAIL: 23_containers/vector/cons/4.cc (test for excess errors) FAIL: ext/hash_set/check_construct_destroy.cc (test for excess errors) FAIL: ext/slist/check_construct_destroy.cc (test for excess errors) ... It looks like we need unique global names for type "N" as well as "F". -- Summary: /usr/ccs/bin/ld: Duplicate symbol "global destructors keyed to _ZNSt3tr112_GLOBA L__N_16ignoreE" Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa1.1-hp-hpux10.20 GCC host triplet: hppa1.1-hp-hpux10.20 GCC target triplet: hppa1.1-hp-hpux10.20 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30151