Glibc-2.3.4-20040701 make error

Steve Crosby fost at hotmail.com
Sat Feb 12 21:45:29 PST 2005


> On Sunday 13 February 2005 12:21 am, John Calhoun wrote:

<snip>

>> /mnt/lfs/sources/glibc-build/libc_pic.a: could not read symbols: Bad
>> value collect2: ld returned 1 exit status
>> make[2]: *** [/mnt/lfs/sources/glibc-build/elf/librtld.map] Error 1
>> make[2]: Leaving directory
>> `/mnt/lfs/sources/glibc-2.3.4-20040701/elf' make[1]: ***
>> [elf/subdir_lib] Error 2 make[1]: Leaving directory
>> `/mnt/lfs/sources/glibc-2.3.4-20040701' make: *** [all] Error 2
>>

your host system has used a buggy version of the "strip" command on your 
host libc.a - this is not recoverable. workarounds include.

1) Rebuild you host libc.a
2) Build binutils and gcc in Chapter 5 as dynamic (i.e. drop the -static 
flags)
3) Build the first binutils using an earlier version (2.15.92.0.2 is fine, 
later versions are not).

Option 2 is easiest.

-- -
Steve Crosby



More information about the lfs-support mailing list