[Bug 695242] New: ld crashes compiling glibc from git
https://bugzilla.novell.com/show_bug.cgi?id=695242 https://bugzilla.novell.com/show_bug.cgi?id=695242#c0 Summary: ld crashes compiling glibc from git Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: rguenther@novell.com ReportedBy: aj@novell.com QAContact: qa@suse.de Found By: Product Management Blocker: --- This happens with both the stock 11.4 binutils and the current factory ones (self-compiled for 11.4): If I build glibc from git directly, it stops with: gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -B/build/glibc/testing/csu/ -Wl,--version-script=/build/glibc/testing/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main -L/build/glibc/testing -L/build/glibc/testing/math -L/build/glibc/testing/elf -L/build/glibc/testing/dlfcn -L/build/glibc/testing/nss -L/build/glibc/testing/nis -L/build/glibc/testing/rt -L/build/glibc/testing/resolv -L/build/glibc/testing/crypt -L/build/glibc/testing/nptl -Wl,-rpath-link=/build/glibc/testing:/build/glibc/testing/math:/build/glibc/testing/elf:/build/glibc/testing/dlfcn:/build/glibc/testing/nss:/build/glibc/testing/nis:/build/glibc/testing/rt:/build/glibc/testing/resolv:/build/glibc/testing/crypt:/build/glibc/testing/nptl -o /build/glibc/testing/linkobj/libc.so -T /build/glibc/testing/shlib.lds /build/glibc/testing/csu/abi-note.o /build/glibc/testing/elf/soinit.os -Wl,--whole-archive /build/glibc/testing/linkobj/libc_pic.a -Wl,--no-whole-archive /build/glibc/testing/elf/sofini.os /build/glibc/testing/elf/interp.os /build/glibc/testing/elf/ld.so -lgcc /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: BFD (GNU Binutils; SUSE:openSUSE 11.4) 2.21.0.20110504-4 internal error, aborting at ../../bfd/elf64-x86-64.c line 2764 in elf64_x86_64_relocate_section /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[1]: *** [/build/glibc/testing/linkobj/libc.so] Error 1 make[1]: Leaving directory `/home/aj/cvs/glibc.git' make: *** [all] Error 2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=695242
https://bugzilla.novell.com/show_bug.cgi?id=695242#c1
--- Comment #1 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=695242
https://bugzilla.novell.com/show_bug.cgi?id=695242#c2
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=695242
https://bugzilla.novell.com/show_bug.cgi?id=695242#c3
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=695242
https://bugzilla.novell.com/show_bug.cgi?id=695242#c4
--- Comment #4 from Richard Guenther
tar xjf ld-bug.tar.bz2 cd ld-bug/ ld -m elf_x86_64 -shared -o ./libc.so -e __libc_main -O1 -z defs --version-script=./libc.map -soname=libc.so.6 -z combreloc -z relro ./abi-note.o ./soinit.os --whole-archive ./libc_pic.a --no-whole-archive ./sofini.os ./interp.os ./ld.so -v -T ./shlib.lds GNU ld (GNU Binutils; devel:gcc / openSUSE_11.1) 2.21.0.20110419-45 ld: BFD (GNU Binutils; devel:gcc / openSUSE_11.1) 2.21.0.20110419-45 internal error, aborting at ../../bfd/elf64-x86-64.c line 2764 in elf64_x86_64_relocate_section
ld: Please report this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=695242
https://bugzilla.novell.com/show_bug.cgi?id=695242#c5
Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com