hi,

i'm trying to cross-compile lfs on my x86_64-machine in order lfs to run 
on a i486-board.
in the chroot environment the next step is to compile glibc but i get 
the following error:

        | gcc -S -o /sources/glibc-build/tcb-offsets.hT3 -std=gnu99 -O2 
-Wall -Winline -Wwrite-strings -fmerge-all-constants -g 
-Wstrict-prototypes      -I../include -I/sources/glibc-build/csu 
-I/sources/glibc-build -I../sysdeps/x86_64/elf 
-I../nptl/sysdeps/unix/sysv/linux/x86_64 
-I../sysdeps/unix/sysv/linux/x86_64 
-I../sysdeps/unix/sysv/linux/wordsize-64 
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread 
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv 
-I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 
-I../sysdeps/x86_64 -I../sysdeps/wordsize-64 
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio 
-I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h       
-DHAVE_INITFINI -x c - \
                -MD -MP -MF /sources/glibc-build/tcb-offsets.h.dT -MT 
'/sources/glibc-build/tcb-offsets.h.d /sources/glibc-build/tcb-offsets.h'
In file included from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
                 from <stdin>:1:
../nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or 
directory
../nptl/sysdeps/x86_64/tls.h:62:3: error: #error "TLS support is required."
make[2]: *** [/sources/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/sources/glibc-2.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/sources/glibc-2.4'
make: *** [all] Error 2

on the net i found an advice to follow the x86_64 book, but the system 
where the lfs should run in the end is a i486 so i dont know about this 
advice..

any help is appreciated! thanks in advance!

toby
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to