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

2009-10-29 Thread ccoutant at google dot com
--- Additional Comments From ccoutant at google dot com 2009-10-29 18:01 --- Fixed with: http://sourceware.org/ml/binutils/2009-10/msg00529.html -- What|Removed |Added

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

2009-10-28 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-10-29 04:20 --- Cary, can we close this as fixed now? -- 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.

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

2009-10-27 Thread ccoutant at google dot com
--- Additional Comments From ccoutant at google dot com 2009-10-28 00:09 --- Created an attachment (id=4331) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4331&action=view) Patch Symbol_table::add_from_pluginobj() wasn't setting is_ordinary for the placeholder SHN_ABS symbols.

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

2009-10-27 Thread espindola at google dot com
--- 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 h

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

2009-10-27 Thread espindola at google dot com
--- Additional Comments From espindola at google dot com 2009-10-27 19:04 --- Created an attachment (id=4326) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4326&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=10842 --- You are receiving this mai

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

2009-10-27 Thread espindola at google dot com
--- Additional Comments From espindola at google dot com 2009-10-27 19:03 --- Created an attachment (id=4325) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4325&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=10842 --- You are receiving this mai

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

2009-10-27 Thread espindola at google dot com
--- Additional Comments From espindola at google dot com 2009-10-27 19:03 --- Created an attachment (id=4324) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4324&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=10842 --- You are receiving this mai

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

2009-10-25 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-10-26 06:00 --- The backtrace strongly suggests that the linker plugin is mishandling SHN_ABS symbols. This should most likely be a bug against the lto-plugin component of gcc, not against gold. I can't seem to CC Rafael, since he d

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

2009-10-25 Thread d dot g dot gorbachev at gmail dot com
--- Additional Comments From d dot g dot gorbachev at gmail dot com 2009-10-25 15:35 --- Created an attachment (id=4317) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4317&action=view) Backtrace -- http://sourceware.org/bugzilla/show_bug.cgi?id=10842 --- You are receiv

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

2009-10-25 Thread d dot g dot gorbachev at gmail dot com
--- Additional Comments From d dot g dot gorbachev at gmail dot com 2009-10-25 15:35 --- Created an attachment (id=4316) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4316&action=view) Testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=10842 --- You are receivi