public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols
Date: Mon, 30 Aug 2004 17:51:00 -0000	[thread overview]
Message-ID: <20040830175133.17242.danglin@gcc.gnu.org> (raw)

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


             reply	other threads:[~2004-08-30 17:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 17:51 danglin at gcc dot gnu dot org [this message]
2004-08-31  6:17 ` [Bug c++/17242] " pinskia at gcc dot gnu dot org
2004-08-31 14:13 ` dave at hiauly1 dot hia dot nrc dot ca
2004-12-01  5:03 ` danglin at gcc dot gnu dot org
2004-12-12 21:40 ` pinskia at gcc dot gnu dot org
2004-12-12 22:02 ` dave at hiauly1 dot hia dot nrc dot ca
2004-12-13  1:19 ` giovannibajo at libero dot it
2004-12-15  5:11 ` cvs-commit at gcc dot gnu dot org
2004-12-15  5:49 ` danglin at gcc dot gnu dot org
2004-12-15  9:56 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040830175133.17242.danglin@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).