This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] ldd failures on multilb architectures


Thorsten Kukuk wrote:
On Fri, Nov 14, Hannes Reinecke wrote:


hare> gcc -m64 -o test test.c
hare> ldd ./test
/usr/bin/ldd: line 1: /lib/ld.so.1: cannot execute binary file
       libc.so.6 => /lib64/libc.so.6 (0x0000010000025000)
       /lib/ld64.so.1 => /lib/ld64.so.1 (0x0000010000000000)
hare> gcc -m64 -static -o test test.c
hare> ldd ./test
/usr/bin/ldd: line 1: /lib/ld.so.1: cannot execute binary file
/usr/bin/ldd: line 1: /lib/ld.so.1: cannot execute binary file
ldd: /lib/ld.so.1 exited with unknown exit code (126)


Ok, what you forget to write:

You try to run ldd on a 64bit binary on a 31bit architecture.
This is important, since the 31bit s390 is no biarch architecture
and ldd cannot work.

Nope. Sorry for the incorrect information.
System is s390x, kernel 2.6.0-test9.

Thorsten, you can try it for yourself, machine is s390zhi25.

Cheers,

Hannes
--
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux AG				S390 & zSeries
Deutschherrnstr. 15-19			+49 911 74053 688
90429 Nürnberg				http://www.suse.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]