This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16625] Discarded Linkonce sections in .rodata



------- Comment #33 from pfaff at mcmaster dot ca  2006-12-29 17:40 -------
While trying to build some C++ code with g++-3.3.6 we encountered error
messages  similar to those mentioned in earlier comments in this discussion:

  `xxx' referenced in section `.rodata' of somefile.o: defined 
  in discarded section `.gnu.linkonce.t._zzz' of something.o

Searching for solutions to this error message led us to this gcc-bugzilla bug
#16625 discussion.

We were able to eliminate these error messages and successfuly compile our code
with g++-3.3.6 by using the '-frepo' option in our g++ compiles.

I understand that this may not be the ultimate solution to the bug(s) being
discussed here, but since we ended up here when searching for this particular
error message, I'm adding this comment in case it helps other people.


-- 

pfaff at mcmaster dot ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pfaff at mcmaster dot ca


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]