linking problem with gcc-4.2 and -O3

Tim Blechmann tim@klingt.org
Thu May 17 22:16:00 GMT 2007


hi all,

when trying to link my (non-trivial) program, i'm getting linking errors
like this:
`.L20447' referenced in section `.gnu.linkonce.r._ZN4nova4AtomC1ERKS0_'
of release/kernel/build.os: defined in discarded section
`.gnu.linkonce.t._ZN4nova4AtomC1ERKS0_' of release/kernel/build.os

this is only an issue, when compiling with gcc-4.2 and -O3 (gcc-4.1/-O3
and gcc-4.2/-O2 work fine).
unfortunately, i haven't been able to reproduce it in a small
program :/ ... is this a known bug/feature? 

thanks a lot ... tim

--
tim@klingt.org    ICQ: 96771783
http://tim.klingt.org

The price an artist pays for doing what he wants is that he has to do
it.
  William S. Burroughs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20070517/b0a401d5/attachment.sig>


More information about the Gcc-help mailing list