gcc compile error

Marius Meinert mariusmeinert at monroebrothers.org
Fri Nov 9 06:44:44 PST 2007


I had the same error in pass 1. I solved it by not patching gcc in  
this pass, the final gcc can be build with the patches, but without  
bootstrap, in a later chapter.
Marius
On Nov 8, 2007, at 11:13 PM, jasin wrote:

> I have searched for a couple hours now with no answer to fix my  
> problem.
> When I issue the command
>
> 'make bootstrap'
>
> to compile gcc 4.12 I keep getting this error
>
> /lib/libc.so.6: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.so] Error 1
> make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
> make[2]: *** [stmp-multilib] Error 2
> make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
> make: *** [bootstrap] Error 2
> lfs at ubuntu:/mnt/lfs/sources/gcc-build$
>
> Can someone point me in the right direction. I am on a amd 64 bit  
> system
> running ubuntu if that makes a difference. I really don't wanna use  
> the
> liveCD so if someone can explain this, would be great.
>
> Jasin
>
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page




More information about the lfs-support mailing list