make problem in section 5.7.1 of lfs6.4
hi linux gurus,
i am trying to build LFS i use following: book-> LFS6.4 host-> REDHAT ENTERPRISE LINUX 5. INTEL PENTIUM M i face the following problems: if i execute: echo "CFLAGS += -march=i486 -mtune=native" > configparms i get following ERROR when execute MAKE: mnt/lfs/sources/glibc-build/tcb-offsets.h.d /mnt/lfs/sources/glibc-build/tcb-offsets.h' :1: error: bad value (native) for -mtune= switch make[2]: *** [/mnt/lfs/sources/glibc-build/tcb-offsets.h] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929' make: *** [all] Error 2 BUT if ignore echo "CFLAGS += -march=i486 -mtune=native" > configparms i get following error after few minutes of compiliation after executing MAKE : /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 i don't have much knowledge about linux please help it is urgent |
Hi
I remember having the very same problem but can't remember what the actual problem was. Just to be sure, check whether you are really using new gcc and not one from your Red Hat. |
Quote:
and one more question i have intel pentium M system is it i386 or i686? |
All times are GMT -5. The time now is 05:30 PM. |