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: "pfaff at mcmaster dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2006 17:40:05 -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 #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