not seen anymore in 14.10 ** Changed in: binutils (Ubuntu) Status: Triaged => Fix Released
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/433076 Title: ld crashed with SIGSEGV in bfd_elf_final_link() Status in “binutils” package in Ubuntu: Fix Released Bug description: Binary package hint: binutils c.c: extern int a(void); int cf(void) { return 2; } void my_exit(int i) { asm ("mov %0, %%ebx\n" "mov %1, %%eax\n" "int %2\n" : : "i"(1), "r"(i), "i"(0x80)); return; } int main(int argc, char **argv) { int i = 1; if (argc > 1) i = argv[1] - '0'; my_exit(1); return 1; } scr: ENTRY(main) SECTIONS { /* Read-only sections, merged into text segment: */ /* PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x08048000)); . = SEGMENT_START("text-segment", 0x08048000) + SIZEOF_HEADERS; */ . = 0x1000; .text : { *(.text) } /DISCARD/ : { *(*) } } $ gcc -nodefaultlibs -Wl,-T,scr -o c c.c ProblemType: Crash Architecture: i386 Date: Sat Sep 19 17:24:04 2009 DistroRelease: Ubuntu 9.10 ExecutablePath: /usr/bin/ld Package: binutils 2.19.91.20090910-0ubuntu1 ProcCmdline: /usr/bin/ld --build-id --eh-frame-hdr -m elf_i386 --hash-style=both -dynamic-linker /lib/ld-linux.so.2 -o c -z relro /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.1/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.4.1 -L/usr/lib/gcc/i486-linux-gnu/4.4.1 -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../.. -L/usr/lib/i486-linux-gnu -T scr /tmp/ccmisLxS.o /usr/lib/gcc/i486-linux-gnu/4.4.1/crtend.o /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crtn.o ProcEnviron: SHELL=/bin/bash PATH=(custom, user) LANG=en_US.UTF-8 SegvAnalysis: Segfault happened at: 0xb7ff1c03: movl $0x4,0x38(%eax) PC (0xb7ff1c03) ok source "$0x4" ok destination "0x38(%eax)" (0x00000038) not located in a known VMA region (needed writable region)! SegvReason: writing NULL VMA Signal: 11 SourcePackage: binutils StacktraceTop: ?? () from /usr/lib/libbfd-2.19.91.20090910.so bfd_elf_final_link () ?? () ?? () __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 Title: ld crashed with SIGSEGV in bfd_elf_final_link() Uname: Linux 2.6.31-rc8-custom i686 UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video www-data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/433076/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp