Trying to compile glibc-2.8-20080929 according to the new Lfs-6.4 book, I get already problems with the pass 1 compilation. The last part of the messages ( after some minutes of compilation ) are quote ------------------------ .... /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_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_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 reference to `__sync_fetch_and_add_4' /mnt/lfs/sources/glibc-build/libc_pic.os:/mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow /mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_get_map_ref': /mnt/lfs/sources/glibc-2.8-20080929/nscd/nscd_helper.c:406: undefined reference to `__sync_val_compare_and_swap_4' /mnt/lfs/sources/glibc-build/libc_pic.os: In function `*__GI___libc_freeres': /mnt/lfs/sources/glibc-2.8-20080929/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[1]: *** [/mnt/lfs/sources/glibc-build/libc.so] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929' make: *** [all] Error 2 ----------------------- unquote
and the same happens with version glibc-2.9-20081208. My Version-Check of the host: delivers quote ----------------------- ed...@edgar2:~$ bash version-check.sh bash, version 3.1.17(1)-release /bin/sh -> /bin/bash Binutils: version 2.17 bison (GNU Bison) 2.3 /usr/bin/yacc -> /usr/bin/yacc bzip2, Version 1.0.3, 15-Feb-2005. Coreutils: 6.3 diff (GNU diffutils) 2.8.1 GNU find version 4.2.28 GNU Awk 3.1.5 /usr/bin/awk -> /usr/bin/gawk gcc (GCC) 4.1.1 GNU C Library stable release version 2.5, grep (GNU grep) 2.5.1 gzip 1.3.5 Linux version 2.6.23.9 (r...@edgar2) (gcc version 4.1.1) #3 SMP Mon Dec 8 14:48:43 CET 2008 GNU M4 1.4.7 GNU Make 3.81 patch 2.5.4 Perl version='5.8.8'; GNU sed version 4.1.5 tar (GNU tar) 1.16 makeinfo (GNU texinfo) 4.8 Compilation OK ----------------------- unquote Any ideas what is going wrong ? I have compiled several 6.3 LFS and the corresponding BLFS packages up to now withouth problems. Advices highly appreciated Edgar -- --------------------- Dr.-Ing. Edgar Alwers Weinheim -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
