bad ld64.so
Jean-Christophe Dubois
jdubois@mc.com
Fri Jul 9 13:36:00 GMT 2004
Hello,
I generated a cross-compiler for PPC970.
- gcc3.4.1
- binutils 2.15
- glibc 2.3.2
All went fine and I was able to cross-compile a Linux 2.6.7 Linux kernel
that was able to boot.
However, it seems the generated ld64.so.1 is not that good. It crashes
immediately when you try to execute it.
You can find the output from both 32bits and 64bits version below.
Anybody has a clue or any experience with this?
Regards
JC
Here is the output from the 32 bits version
[root@fr-g5 root]# /lib/ld.so.1
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library
executables.
This program usually lives in the file `/lib/ld.so', and special
directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file. This helper program
loads
the shared libraries needed by the program executable, prepares the
program
to run, and runs it. You may invoke this helper program directly from
the
command line to load and run an ELF executable file; this is like
executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the
executable
file you run. This is mostly of use for maintainers to test new
versions
of this helper program; chances are you did not intend to run this
program.
--list list all dependencies and how they are resolved
--verify verify that given object really is a dynamically
linked
object we can handle
--library-path PATH use given PATH instead of content of the
environment
variable LD_LIBRARY_PATH
--inhibit-rpath LIST ignore RUNPATH and RPATH information in object
names
in LIST
Here is the output from the 64 bits version
[root@fr-g5 root]# /lib64/ld64.so.1
Segmentation fault
[root@fr-g5 root]#
--
Jean-Christophe Dubois <jdubois@mc.com>
Mercury Computer Systems
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list