Dennis J Perkins wrote:
>
> I had set CLFS_TARGET to x86_64-unknown-linux-gnu instead of
> i686-pc-linux-gnu without thinking.  That solved that problem.
>
> Now I'm wondering why the tls error pops up when CLFS_TARGET us set to
> x86_64-unknown-linux-gnu.  If I just say "make -k install_headers, the
> errors are ignored and the headers are installed.  Not sure if that is
> the best approach tho.
>   
It shows up because the test in configure attempts to compile some ASM. And ASM 
is arch specific. The toolchain is compiling 32bit but yet you tried to 
compiled 64bit code with a 32bit toolchain. This entry in config.cache should 
over ride that. libc_cv_386_tls=yes going to have to look into it more. Maybe 
there's a second test that I missed.

As for make -k install_headers. Those errors come from generating the headers. 
So..... ignoring them would cause some/all of the headers to not be installed. 
And may case the build the fail later on. Better the fix the error instead of 
by passing it and then having to do more hacks later.



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

Reply via email to