This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols


Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/g++ -shared-libgcc -B/xxx/gnu/gcc
-3.3/objdir/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.3/objdir/hppa1.1-hp-hpux10.20/libs
tdc++-v3/src -L/xxx/gnu/gcc-3.3/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.li
bs -B/opt/gnu/gcc/gcc-3.5.0/hppa1.1-hp-hpux10.20/bin/ -B/opt/gnu/gcc/gcc-3.5.0/h
ppa1.1-hp-hpux10.20/lib/ -isystem /opt/gnu/gcc/gcc-3.5.0/hppa1.1-hp-hpux10.20/in
clude -isystem /opt/gnu/gcc/gcc-3.5.0/hppa1.1-hp-hpux10.20/sys-include -g -O2 -D
_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="/xxx/gnu/gcc-3.3/objdir/hppa1.1-
hp-hpux10.20/libstdc++-v3/po/share/locale" -nostdinc++ -I/xxx/gnu/gcc-3.3/objdir
/hppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpux10.20 -I/xxx/gnu/gcc-3
.3/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include -I/xxx/gnu/gcc-3.3/gcc/libst
dc++-v3/libsupc++ -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3
.3/gcc/libstdc++-v3/include/backward -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsui
te /xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsuite/21_strings/basic_string/inserters
_extractors/pod/10081-in.cc    -include bits/stdc++.h  -L/xxx/gnu/gcc-3.3/objdir
/hppa1.1-hp-hpux10.20/./libstdc++-v3/testsuite -lv3test -lm   -o ./10081-in.exe
   (timeout = 300)
/usr/ccs/bin/ld: Duplicate symbol "guard variable for std::basic_string<__gnu_cx
x::character<unsigned short, unsigned int, mbstate_t>, std::char_traits<__gnu_cx
x::character<unsigned short, unsigned int, mbstate_t> >, std::allocator<__gnu_cx
x::character<unsigned short, unsigned int, mbstate_t> > >::_Rep::_S_terminal" in
 files /var/tmp//cc63UnQK.o and /xxx/gnu/gcc-3.3/objdir/hppa1.1-hp-hpux10.20/./l
ibstdc++-v3/testsuite/libv3test.a(testsuite_hooks.o)
/usr/ccs/bin/ld: Duplicate symbol "std::basic_string<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t>, std::char_traits<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t> >, std::allocator<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t> > >::_Rep::_S_empty_rep_storage" in files /va
r/tmp//cc63UnQK.o and /xxx/gnu/gcc-3.3/objdir/hppa1.1-hp-hpux10.20/./libstdc++-v
3/testsuite/libv3test.a(testsuite_hooks.o)
/usr/ccs/bin/ld: Duplicate symbol "std::basic_string<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t>, std::char_traits<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t> >, std::allocator<__gnu_cxx::character<unsign
ed short, unsigned int, mbstate_t> > >::_Rep::_S_terminal" in files /var/tmp//cc
63UnQK.o and /xxx/gnu/gcc-3.3/objdir/hppa1.1-hp-hpux10.20/./libstdc++-v3/testsui
te/libv3test.a(testsuite_hooks.o)
/usr/ccs/bin/ld: Found 3 duplicate symbol(s)
collect2: ld returned 1 exit status
compiler exited with status 1
...
FAIL: 21_strings/basic_string/inserters_extractors/pod/10081-in.cc (test for exc
ess errors)

The following tests fail due to the same problem:

FAIL: 21_strings/basic_string/inserters_extractors/pod/10081-out.cc (test for ex
cess errors)
FAIL: 22_locale/numpunct/members/pod/1.cc (test for excess errors)
FAIL: 22_locale/numpunct/members/pod/2.cc (test for excess errors)
FAIL: 27_io/basic_istream/sentry/pod/1.cc (test for excess errors)
FAIL: 27_io/basic_ostream/sentry/pod/1.cc (test for excess errors)

We have one-only support on this target, but no weak support.  I checked
the first duplicate and it is not being output as a one-only symbol.

-- 
           Summary: Testsuite fails due to duplicate symbols
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs 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=17242


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]