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

Segher Boessenkool segher at kernel.crashing.org
Sat May 3 03:15:26 EST 2008


>> 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.).

gcc -mthe-options-to-select-some-target -print-libgcc-file-name

> My patch seemed the least painful solution to me.

In the short term, perhaps ;-)

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

It's historical, even _if_ there was a valid reason once (and I'm
not so sure about that), who knows if there still is.

Besides, this is not the kernel, this is the bootwrapper, I strongly
doubt libgcc would cause any conflicts here.


Segher




More information about the Linuxppc-dev mailing list