On Mon, Oct 22, 2007 at 01:24:10PM +0200, Tobias Vogel wrote:
> 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:
[...]
> 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
[...]
> 
> 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..
 No, no no!  Build for the _target_ architecture.  So in this case,
use the x86 book.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to