bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12778] New: arm-linux-gnueabi-ld: segfault in elf32_arm_gc_sweep


From: r.krypa at samsung dot com
Subject: [Bug ld/12778] New: arm-linux-gnueabi-ld: segfault in elf32_arm_gc_sweep_hook
Date: Wed, 18 May 2011 10:37:10 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12778

           Summary: arm-linux-gnueabi-ld: segfault in
                    elf32_arm_gc_sweep_hook
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Created attachment 5733
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5733
Object file triggering the bug

binutils configured with "--target=arm-linux-gnueabi" fails while linking the
file I attached:

./ld/ld-new --gc-sections -pie -z relro test.o -o test
Segmentation fault


Information from gdb:

Program received signal SIGSEGV, Segmentation fault.
elf32_arm_gc_sweep_hook (abfd=0x8158288, info=0x813cac0, sec=0x81693b8,
relocs=0x817999c) at elf32-arm.c:12041
12041          for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
(gdb) bt
#0  elf32_arm_gc_sweep_hook (abfd=0x8158288, info=0x813cac0, sec=0x81693b8,
relocs=0x817999c) at elf32-arm.c:12041
#1  0x080bef9f in elf_gc_sweep (abfd=0x8148c50, info=0x813cac0) at
elflink.c:11765
#2  bfd_elf_gc_sections (abfd=0x8148c50, info=0x813cac0) at elflink.c:12024
#3  0x0805b167 in lang_gc_sections () at ldlang.c:6299
#4  lang_process () at ldlang.c:6605
#5  0x0805e2b6 in main (argc=8, argv=0xbffff584) at ./ldmain.c:462

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]