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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to