This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/43542] LTO segfault with object referencing __gnu_lto_v1
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2010 19:45:09 -0000
- Subject: [Bug lto/43542] LTO segfault with object referencing __gnu_lto_v1
- References: <bug-43542-15771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 19:45 -------
Confirmed. Note that I think libtool also strips -flto from the linker
commandline.
The proper way to fix this bug is to stop emitting this artificial symbol
but instead use another way to identify object files with LTO content.
For example by checking if the required sections are available or by emitting
and checking a ELF note.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |lto
Last reconfirmed|0000-00-00 00:00:00 |2010-03-26 19:45:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43542