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 lto/43542] LTO segfault with object referencing __gnu_lto_v1



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


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