------- 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