checking size of long double... configure: error: cannot compute sizeof (long double), 77
gschafer at zip.com.au
Thu Oct 30 14:38:30 PST 2003
On Thu, Oct 30, 2003 at 01:05:46AM -0800, Stephane Charette wrote:
> Now I'm following the steps for LFS 5.0-pre3 (host is RH 9) and I've encountered the exact same error in chapter 5 while trying to install glibc. This is what I get:
> ../glibc-2.3.2/configure --prefix=/tools --disable-profile --enable-add-ons --with-headers=/tools/include --with-binutils=/tools/bin --without-gd
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for long double... yes
> checking size of long double... configure: error: cannot compute sizeof (long double), 77
> See `config.log' for more details.
> When I look in config.log, I see:
> configure:6001: checking size of long double
> configure:6276: gcc -B/tools/bin/ -o conftest -g -O2 conftest.c >&5
> /tools/bin/ld: warning: ld-linux.so.2, needed by /lib/libc.so.6, not found (try using -rpath or -rpath-link)
> /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol_skip at GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_rtld_global at GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol at GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_lookup_symbol at GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_map_object at GLIBC_PRIVATE'
> collect2: ld returned 1 exit status
> configure:6279: $? = 1
> configure: program exited with status 1
Dunno for sure, but this is possibly caused by the binutils-pass1 not being
linked statically. Please check this by running:
If it says dynamic, redo the binutilspass1 build properly then try glibc again.
More information about the lfs-support