bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/3852] ld segfaults in mips_elf_create_dynamic_relocation


From: raj dot khem at gmail dot com
Subject: [Bug ld/3852] ld segfaults in mips_elf_create_dynamic_relocation
Date: 26 Jan 2007 21:45:30 -0000

------- Additional Comments From raj dot khem at gmail dot com  2007-01-26 
21:45 -------
Here is some more information.

Steps to reproduce 

../binutils/configure --host=i686-pc-linux-gnu
--target=mips-montavista-linux-gnu
--prefix=/opt/montavista/foundation/devkit/mips/mips2_fp_be

make

the copy the ld-new to the same directory where the test case is and invoke the
ld-new 

./ld-new -v -shared -o ld.so -z relro -z defs librtld.os --version-script=ld.map
-soname=ld.so.1 -T ld.so.lds

GNU ld version 2.17.50 20070126
Segmentation fault (core dumped)


if you invoke ld-new from same directory where it was built it will work.

Secondly if the configure command is now altered (say dropping mips2_fp_be from
--prefix)

../binutils/configure --host=i686-pc-linux-gnu
--target=mips-montavista-linux-gnu 
--prefix=/opt/montavista/foundation/devkit/mips

Then it works everywhere normal.

I could reproduce it with ld dating back from Dec 02,2006 till latest from cvs

from valgrind -v everything looks same except one place

ok ld
--11498-- scheduler: 8,908,114 jumps (bb entries).

segfaulting ld

--11519-- scheduler: 8,908,237 jumps (bb entries).





-- 


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

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