This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16625] Discarded Linkonce sections in .rodata
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2007 14:19:58 -0000
- Subject: [Bug c++/16625] Discarded Linkonce sections in .rodata
- References: <bug-16625-8878@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #37 from hjl at lucon dot org 2007-03-05 14:19 -------
(In reply to comment #36)
> Subject: Re: Discarded Linkonce sections in .rodata
>
> >> One possible workaround is to reorder the objects during link, so that those
> >> with .gnu.linkonce.r.* come first.
> >>
> >> If this a compiler or a linker bug? (I'd blame the linker ;))
> >
> > It is most likely a Solaris specific compiler bug.
>
> Erm, this bug was originally reported for i686-pc-linux-gnu, and none of
> the 33 previous comments refers to Solaris.
>
> Forgot to mention that the bug exhibits only with GNU ld,
> Solaris ld links fine without object reordering or other tricks.
>
> /Michael
>
Can I reproduce it on Linux?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625