glibc-2.3.6 error in Chapter:5

Chris Staub chris at
Mon Mar 6 20:45:23 PST 2006

randhir phagura wrote:
> Hi,
> I am trying to install lfs-Version udev_update-20060301 from base system 
> lfs-6.1.1, on to another drive.
> In Chapter-5, while installing glibc-2.3.6, I get configure error as 
> follows:
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> 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.
> `/tools/i686-pc-linux-gnu/bin/ld' -> `/tools/i686-pc-linux-gnu/bin/ld-old'
> mv: cannot stat `/tools/bin/ld-new': No such file or directory
> create symbolic link `/tools/i686-pc-linux-gnu/bin/ld' to `/tools/bin/ld'
> `tempspecfile' -> 
> `/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.2/specs'
> removed `tempspecfile'
> Any ideas as to the reason. Will appreciate help.
> Thanks

Why do you have errors about copying "ld-new" and updating the specs 
file if glibc won't even compile? Are you running some kind of (badly) 
scripted build?

BTW your error is probably due to incorrectly-compiled, or missing, 
binutils. Since /tools/bin/ld-new is being reported as not existing, it 
must be that it was never copied there. If so, you should have noticed 
an error way before this.

More information about the blfs-support mailing list