[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ttylinux:282] Errors on gmp compile - can't find GLIBC 2.14
On 09/21/12 09:41, RyanJ wrote:
I'm compiling ttylinux from the master tarball (
https://github.com/djerome/ttylinux/tarball/master ) on a Debian 5.0.7
amd64 VM and have successfully managed to compile the cross-tool chain
as well as a portion of ttylinux. However, on the compile for gmp-4.3.2,
the build process errors and stops. In the log
make: Entering directory
./gen-psqr 64 0 >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
./gen-psqr: /lib/libc.so.6: version `GLIBC_2.14' not found (required by
Sure enough, the Debian 5.0.7 system in question has glibc 2.7 in /lib.
But I don't think that's where it should be looking.
I've successfully gotten around this issue by compiling glibc 2.14 from
source and replacing the stock 2.7 that ships with Debian 5.0.7 amd64,
but this seems incredibly hacky as the cross-tool chain should have
these libraries available (looking closely, they're there, but the path
doesn't seem to be passed correctly into the build for gmp).
I think you are building ttylinux for x86-64 target on
an x86-64 (AMD64) host, yes? I'd really like to know.
Sometimes when host=target weird non-cross-compiler
I'm still looking into this...