Andrew Benton wrote:
> On 16/04/10 18:15, Andrew Benton wrote:
>> make LD_LIBRARY_PATH=$(pwd)/$(uname -m)-unknown-linux-gnu/libgcc/
>> works for me on x86_64 (I've not tried it on a 32 bit build yet).
>>
> 
> Building on i686 failed at the first pass of glibc like so:
> 
> Googling on that suggests that the error is related to setting the -march 
> CFLAG whilst using
> a cross. compiler. Google led me to this patch which solved the problem:
> 
> diff -Naur glibc-2.11.1-orig/nptl/sysdeps/pthread/pt-initfini.c 
> glibc-2.11.1/nptl/sysdeps/pthread/pt-initfini.c

> diff -Naur glibc-2.11.1-orig/sysdeps/unix/sysv/linux/i386/sysdep.h 
> glibc-2.11.1/sysdeps/unix/sysv/linux/i386/sysdep.h

Where did you find the patch Andy?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to