ld segfault linking qemu-alpha-static on armel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: binutils
qemu-linaro is failing to build on armel due to a segfault when linking the alpha emulator:
LINK alpha-linux-
collect2: ld terminated with signal 7 [Bus error]
The full command being run is:
ld --build-id --no-add-needed -Bstatic -dynamic-linker /lib/ld-linux.so.3 -X --hash-style=gnu -m armelf_linux_eabi -z relro -o qemu-alpha /usr/lib/
backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x4033c948 in memcpy () at ../ports/
259 ../ports/
in ../ports/
(gdb) bt
#0 0x4033c948 in memcpy () at ../ports/
#1 0x0003422c in sha1_process_bytes (buffer=0x403c907e, len=704538,
ctx=0xbefb8dc0) at /usr/include/
#2 0x4028655c in bfd_elf32_
process=0x34178 <sha1_process_
at ../../bfd/
#3 0x0002cd84 in gldarmelf_
at earmelf_
#4 0x40292adc in _bfd_elf_
at ../../bfd/
#5 0x4025f424 in bfd_close (abfd=0xc75c28) at ../../bfd/
#6 0x000211d4 in main (argc=7812, argv=0x43) at ../../ld/
running the same command without --build-id succeeds (?)