Configure: error: cannot compute sizeof (long double)

Dan Nicholson dbn.lists at gmail.com
Sun Jul 15 13:56:53 PDT 2007


On 7/15/07, Baho Utot <baho-utot at columbus.rr.com> wrote:
> On Sunday 15 July 2007 4:06 pm, Ken Moffat wrote:
> >
> >  It looks as if glibc is broken, so from here, I _guess_ that
> > either you went wrong when adjusting the toolchain, or you missed
> > one of the symlinks, or perhaps you built in stages and something
> > is linked agaisnt the host's libraries.
>
> Ok, I am going to remake the "tools"  using "cut, paste and run" from the
> book.  Then I will try again.

I think Ken's probably right here. Often what happens is that the
toolchain adjustment isn't done correctly, resulting in /tools/bin/gcc
using the wrong dynamic linker. Try

$ readelf -l /tools/bin/gcc | grep interpreter

It should say /tools/lib/ld-linux.so.2.

--
Dan



More information about the lfs-support mailing list