[PATCH] [POWERPC] Fix bootwrapper builds with newer gcc versions

Kumar Gala galak at kernel.crashing.org
Fri May 2 23:41:27 EST 2008


On May 2, 2008, at 8:37 AM, Segher Boessenkool wrote:

>>> Why can't we link with libgcc, instead?
>>
>> we possibly could, the problem is knowing the path of libgcc to  
>> link with.
>
> gcc -print-libgcc-file-name

It wasn't clear if we used a multilib toolchain if we always get the  
proper libgcc since we are building bootwrappers for all kinda of  
variants.  (e500, 40x, 6xx, etc.).  My patch seemed the least painful  
solution to me.

I assume there is a reason we don't link libgcc w/the kernel.

>>  This seemed easier to me than the makefile headaches to ensure  
>> that we get that right.
>
> Ah come on, make syntax is fun!

Yes, yes it is ;)

- k



More information about the Linuxppc-dev mailing list