Matt Bartley wrote:
I've copied the binary from Debian, which isn't statically linked, but it works anyway.

Please install a statically linked version inside chroot. If it's a dynamically linked binary it'll have to use your LFS' Glibc libraries. If there is an issue with your Glibc installation, which looks like it might be the case, strace may not function right.

strace: exec: No such file or directory.

That's a typical indication from strace that there is something wrong with the Glibc installation.

The gcc4 branch.  Version GCC4-20050721 to be more precise.

Unfortunately I haven't done much of anything with that GCC version. I can throw out some wild guesses like how GCC4 and Glibc might need to be build differently from what the current LFS books says, but I really couldn't answer it. If there is a known issue with how GCC4 compiles Glibc (or how the current instructions in LFS might be buggy for this application and miscompile Glibc) you should be able to find it in the mailinglist archives.

--
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to