LFS with Glibc 2.7?

Marcus Taschenberger marcus at shortymail.net
Mon Oct 29 03:40:35 PDT 2007


Huhu,

i should like to build LFS with other package

Binutils 2.18 (build ok)
GCC.4.2.2 (build ok)
Linux API Header (Kernel 2.6.23, build ok)
Glibc 2.7 (make error)




Error message:

/media/lfs/sources/glibc-build/libc_pic.os: In function `__libc_fork':
/media/lfs/sources/glibc-2.7/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:76: undefined reference to `__sync_bool_compare_and_swap_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/media/lfs/sources/glibc-2.7/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getpw_r':
/media/lfs/sources/glibc-2.7/nscd/nscd_getpw_r.c:232: undefined reference to `__sync_fetch_and_add_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/media/lfs/sources/glibc-2.7/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getgr_r':
/media/lfs/sources/glibc-2.7/nscd/nscd_getgr_r.c:321: undefined reference to `__sync_fetch_and_add_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/media/lfs/sources/glibc-2.7/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/media/lfs/sources/glibc-build/libc_pic.os:/media/lfs/sources/glibc-2.7/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow
/media/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_get_map_ref':
/media/lfs/sources/glibc-2.7/nscd/nscd_helper.c:404: undefined reference to `__sync_val_compare_and_swap_4'
/media/lfs/sources/glibc-build/libc_pic.os: In function `*__GI___libc_freeres':
/media/lfs/sources/glibc-2.7/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/media/lfs/sources/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/media/lfs/sources/glibc-2.7'
make: *** [all] Error 2
lfs at debian:/media/lfs/sources/glibc-build$



Host system is Debian Etch

Does have anybody an idea where is the error?


Sorry for my bad english
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20071029/994789a3/attachment.html>


More information about the lfs-support mailing list