GNU gold (GNU Binutils 2.20.51.20091020) 1.9
gcc (GCC) 4.5.0 20091022 (experimental)
--
Summary: Segmentation fault in GOLD when using GCC's LTO plugin
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
--- 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
--- 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
$ ld -m elf_x86_64 -r -o /usr/src/modules/fglrx/fglrx.o firegl_public.o
kcl_acpi.o kcl_agp.o kcl_debug.o kcl_ioctl.o kcl_io.o kcl_pci.o kcl_str.o
kcl_wait.o libfglrx_ip.a.GCC4
ld: internal error in output_symtab_index, at ../../gold/object.h:1069
$ ld --version
GNU gold (GNU Binutils fo
--- Additional Comments From edwintorok at gmail dot com 2009-10-25 19:05
---
Created an attachment (id=4318)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4318&action=view)
fglrx.tar.bz2
archive of .o files
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10843
--- Y
--- 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