bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/10842] Segmentation fault in GOLD when using GCC's LTO plugin


From: espindola at google dot com
Subject: [Bug gold/10842] Segmentation fault in GOLD when using GCC's LTO plugin
Date: 27 Oct 2009 19:08:55 -0000

------- Additional Comments From espindola at google dot com  2009-10-27 19:08 
-------
I have reduced the test a bit. What is happening:

1) We compile each .c file into a .o. main.o defines main and foo.o defines foo
2) The plugin claims the files and tells the linker about both symbols
3) LTO happens and with -fwhole-program GCC drops foo
4) The linker gets confused with --gc-sections and a missing symbol

The bug goes away if --gc-sections or -fwhole-program is not used.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10842

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]