Harel Davolt wrote:
> I followed the instructions to the letter (book 6.4) and on make,
> glibc throws out
> 
> /mnt/lfs/sources/glibc-build/libc_pic.os: In function `__libc_fork':
> /mnt/lfs/sources/glibc-2.8-20080929/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:76:
> undefined reference to `__sync_bool_compare_and_swap_4'
> /mnt/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getpw_r':
> /mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd_getpw_r.c:232: undefined
> reference to `__sync_fetch_and_add_4'
> /mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
> /mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd-client.h:320: undefined
> reference to `__sync_fetch_and_add_4'
> /mnt/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getgr_r':
> /mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd_getgr_r.c:321: undefined
> reference to `__sync_fetch_and_add_4'
> /mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
> /mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd-client.h:320: undefined

Looks like you missed the -march stuff in configparms. What do you see 
if you do "cat configparms" from glibc-build?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to