[Top][All Lists]

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

[Bug ld/5761] New: Segfault in make_abs().

From: osv at javad dot com
Subject: [Bug ld/5761] New: Segfault in make_abs().
Date: 13 Feb 2008 13:46:35 -0000

This segfault occurs with both 2.18 and, while 2.17 works fine.
Here is gdb stack backtrace:

(gdb) run
Starting program: /home/osv/try/sparc-elf/bin/ld -o main -L../linker
-L/home/osv/try/lib/gcc/sparc-elf/4.2.3/../../../../sparc-elf/lib -Map main.map
-s -S --gc-sections -N -T std_avt.lnk <OBJECTS_LIST> --start-group -ltarget -lc
-lm -lsupc++ --end-group -lgcc -lgcc -v
GNU ld (GNU Binutils)

Program received signal SIGSEGV, Segmentation fault.
make_abs () at ../../../binutils/ld/ldexp.c:138
138       expld.result.value += expld.result.section->vma;
(gdb) bt
#0  make_abs () at ../../../binutils/ld/ldexp.c:138
#1  0x08055b6f in lang_size_sections_1 (s=<value optimized out>,
output_section_statement=0x919c578, prev=0x1, fill=0x0, dot=1611642024,
    relax=0x0, check_regions=0) at ../../../binutils/ld/ldlang.c:4821
#2  0x0805644f in one_lang_size_sections_pass (relax=0x0, check_regions=0) at
#3  0x080566c9 in strip_excluded_output_sections () at
#4  0x080653ab in gldelf32_sparc_before_allocation () at eelf32_sparc.c:1038
#5  0x08058ad0 in lang_process () at ../../../binutils/ld/ldlang.c:6062
#6  0x0805cbd5 in main (argc=152751196, argv=0xc4) at
(gdb) p expld.result.section
$1 = (asection *) 0x0

Unfortunately I can't send all the object files to reproduce this, but hopefully
I can aid in debugging, -- please let me know what can I do to help.

           Summary: Segfault in make_abs().
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: osv at javad dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sparc-unknown-elf


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

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