public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols
@ 2004-08-30 17:51 danglin at gcc dot gnu dot org
2004-08-31 6:17 ` [Bug c++/17242] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-08-30 17:51 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
@ 2004-08-31 6:17 ` pinskia at gcc dot gnu dot org
2004-08-31 14:13 ` dave at hiauly1 dot hia dot nrc dot ca
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-31 6:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-31 06:17 -------
Is this a recent regression if it is then this is most likely caused Jason's work on the C++ front-end and
making the static initializers thread safe.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |c++
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-08-31 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-08-31 14:13 -------
Subject: Re: Testsuite fails due to duplicate symbols
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-31
> 06:17 -------
> Is this a recent regression if it is then this is most likely caused Jason's
> work on the C++ front-end and
> making the static initializers thread safe.
No, it isn't recent. It predates Jason's work and my addition of
COMDAT/one-only support to this target.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-01 5:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-01 05:03 -------
I have the sense that the linkage for guard variables is being set
before the final linkage is determined for the decl on which it is
based.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
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
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 21:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-12 21:40:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-12-12 22:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-12-12 22:02 -------
Subject: Re: Testsuite fails due to duplicate symbols
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
I have a fix in testing.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-13 1:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-12-13 01:19 -------
Assigning this bug to you, then.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dave at hiauly1 dot hia dot
|dot org |nrc dot ca
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-15 5:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-15 05:11 -------
Subject: Bug 17242
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: danglin@gcc.gnu.org 2004-12-15 05:10:58
Modified files:
gcc : ChangeLog configure.ac configure config.in
gcc/config/pa : pa-hpux10.h pa.c som.h
Log message:
PR c++/17242
* configure.ac: Add GAS check for HP-UX .nsubspa comdat.
* configure, config.in: Rebuilt.
* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY): Delete
defines.
* config/pa/pa.c (pa_select_section): Allow uninitialized variables in
one-only (comdat) subspaces.
* config/pa/som.h (SUPPORTS_SOM_COMDAT): New define.
(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT are
true.
(MAKE_DECL_ONE_ONLY): Place uninitialized variables in common.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6832&r2=2.6833
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&r1=2.88&r2=2.89
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&r1=1.879&r2=1.880
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.in.diff?cvsroot=gcc&r1=1.200&r2=1.201
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa-hpux10.h.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&r1=1.279&r2=1.280
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/som.h.diff?cvsroot=gcc&r1=1.51&r2=1.52
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-15 5:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-15 05:49 -------
Fixed by patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17242] Testsuite fails due to duplicate symbols
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-12-15 5:49 ` danglin at gcc dot gnu dot org
@ 2004-12-15 9:56 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-15 9:56 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17242
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-12-15 9:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-30 17:51 [Bug libstdc++/17242] New: Testsuite fails due to duplicate symbols danglin at gcc dot gnu dot org
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
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).