[Bug c++/12175] [3.4 Regression] Tru64 UNIX bootstrap failure: multiply defined symbols linking libstdc++.so
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Mon Sep 29 14:41:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12175
------- Additional Comments From hubicka at ucw dot cz 2003-09-29 14:17 -------
Subject: Re: [3.4 Regression] Tru64 UNIX bootstrap failure: multiply defined symbols linking libstdc++.so
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12175
>
>
>
> ------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2003-09-29 11:57 -------
> Subject: Re: [3.4 Regression] Tru64 UNIX bootstrap failure: mu
>
> > The symbol in question exists and is external symbol.
> > I am not quite sure what can call notice_global_symbol on external
> > symbol, but perhaps the attached patch will help.
>
> Yes, it does. It gets us back to bootstrap land.
OK,
I will install the patch as obvious then together with the change to
set the variables just once.
Thanks for testing it!
Honza
>
> Thanks,
> Dave
>
> > Index: varasm.c
> > ===================================================================
> > RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
> > retrieving revision 1.386
> > diff -c -3 -p -r1.386 varasm.c
> > *** varasm.c 23 Sep 2003 19:47:00 -0000 1.386
> > --- varasm.c 28 Sep 2003 20:15:53 -0000
> > *************** notice_global_symbol (tree decl)
> > *** 1043,1048 ****
> > --- 1043,1049 ----
> > {
> > if ((!first_global_object_name || !weak_global_object_name)
> > && TREE_PUBLIC (decl) && !DECL_COMMON (decl)
> > + && !DECL_EXTERNAL (decl)
> > && (TREE_CODE (decl) == FUNCTION_DECL
> > || (TREE_CODE (decl) == VAR_DECL
> > && (DECL_INITIAL (decl) != 0
>
> Dave
>
>
>
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list