Problems while building with glibc.2.0.6
Jim Wilson
wilson@cygnus.com
Tue Mar 10 16:52:00 GMT 1998
But I get a very strange error while making bootstrap:
Once built for example
gengenrtl
the /bin/sh reports 'no such file or directory' when calling this executable
(which seems to be very present while typing 'ls'). I never seen this strange
behaviour before.
Why does this happen ?
This can happen if the interpreter for the file is missing. I don't know
exactly how this is indicated in an ELF executable, but it is easy to
demonstrate with a script.
If I put this in a file `tmp.script'
#!/foo/bar
echo /foo/bar
chmod +x tmp.script, and then type tmp.script, I get this (on an Irix6 machine)
ada<126>tmp.script
tmp.script - Command not found
because the interpreter /foo/bar does not exist. So I'd guess that the
ELF headers are corrupted.
Jim
More information about the Gcc-bugs
mailing list