This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51859] Linker option effects not reflected in symbol resolution file
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Jan 2012 17:39:13 +0000
- Subject: [Bug lto/51859] Linker option effects not reflected in symbol resolution file
- Auto-submitted: auto-generated
- References: <bug-51859-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
--- Comment #2 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-01-16 17:39:13 UTC ---
Created attachment 26343
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26343
Testcase
I also experienced this bug.
`_Unwind_Resume' referenced in section `.text' of
/tmp/ccsXTIlG.ltrans0.ltrans.o: defined in discarded section `.text' of foo.o
(symbol from plugin)
1
foo.o 7
160 fb8ca3051c18d571 PREVAILING_DEF_IRONLY _Unwind_Resume
167 fb8ca3051c18d571 PREVAILING_DEF foo
171 fb8ca3051c18d571 RESOLVED_EXEC __gxx_personality_v0
178 fb8ca3051c18d571 RESOLVED_EXEC __cxa_rethrow
180 fb8ca3051c18d571 RESOLVED_EXEC __cxa_begin_catch
186 fb8ca3051c18d571 RESOLVED_EXEC __cxa_end_catch
188 fb8ca3051c18d571 RESOLVED_EXEC bar