bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10629] New: GNU ld (GNU Binutils) 2.20.51.20090910 cores


From: george dot tovrea at baesystems dot com
Subject: [Bug ld/10629] New: GNU ld (GNU Binutils) 2.20.51.20090910 cores
Date: 11 Sep 2009 17:16:33 -0000

System:

uname -m = IP35
uname -r = 6.5
uname -s = IRIX64
uname -v = 07010238
/usr/bin/uname -p = mips

>g++ --version
g++ (GCC) 4.3.0
>file /home/users/tovrea/local/sgi6/bin/g++
/home/users/tovrea/local/sgi6/bin/g++:  ELF N32 MSB mips-3 dynamic executable 
(not stripped) MIPS - version 1

>ld --version
GNU ld (GNU Binutils) 2.20.51.20090910
>file  /home/users/tovrea/local/sgi6/bin/ld
/home/users/tovrea/local/sgi6/bin/ld:   ELF N32 MSB mips-3 dynamic executable 
(not stripped) MIPS - version 1

Simple Sample:
simple.cc:

int main()
{ return 0;}

compile command:
g++ -c -o simple.o simple.cc

link command:
ld  -L/home/users/tovrea/local/sgi6/lib -o simple simple.o -lxerces-c

where
/home/users/tovrea/local/sgi6/lib/libxerces-c.so -> libxerces-c.so.28.0
and
file /home/users/tovrea/local/sgi6/lib/libxerces-c.so
/home/users/tovrea/local/sgi6/lib/libxerces-c.so:       ELF N32 MSB mips-3 
dynamic lib MIPS - version 1

Problem:
>ld  -L/home/users/tovrea/local/sgi6/lib -o simple simple.o -lxerces-c
ld: BFD (GNU Binutils) 2.20.51.20090910 assertion fail elfxx-mips.c:6965
Segmentation fault (core dumped)
dbx /home/users/tovrea/local/sgi6/bin/ld core
dbx version 7.3.5 (92898_Aug07 MR) Aug  7 2003 14:15:31
Core from signal SIGSEGV: Segmentation violation
(dbx) where
>  0 _bfd_generic_link_add_one_symbol(info = <illegal>, abfd = <illegal>, name 
= <illegal>, flags = <illegal>, section = <illegal>, value = <illegal>, string 
= <illegal>, copy = <illegal>, collect = <illegal>, hashp = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/linker.c":1294, 0x100491e4]
   1 _bfd_mips_elf_create_dynamic_sections(abfd = <illegal>, info = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/elfxx-mips.c":7101, 
0x10068914]
   2 _bfd_elf_link_create_dynamic_sections(abfd = <illegal>, info = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/elflink.c":6975, 0x100889cc]
   3 elf_add_dt_needed_tag(abfd = <illegal>, info = <illegal>, soname = 
<illegal>, do_it = <illegal>) ["/home/users/tovrea/BINUTILS/binutils-
2.20.51/bfd/elflink.c":7035, 0x10088b14]
   4 bfd_elf_link_add_symbols(abfd = <illegal>, info = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/elflink.c":7656, 0x10092bf4]
   5 load_symbols(entry = <illegal>, place = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/ldlang.c":4315, 0x10019834]
   6 open_input_bfds(s = <illegal>, force = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/ldlang.c":4315, 0x1001a484]
   7 lang_process() ["/home/users/tovrea/BINUTILS/binutils-
2.20.51/ld/ldlang.c":4315, 0x1001bc80]
   8 main(argc = <illegal>, argv = <illegal>) 
["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/./ldmain.c":895, 0x10020f44]
   9 __start() ["/xlv55/kudzu-
apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s":177, 0x10008d28]

-- 
           Summary: GNU ld (GNU Binutils) 2.20.51.20090910 cores
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: george dot tovrea at baesystems dot com
                CC: bug-binutils at gnu dot org


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

------- 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]