[PATCH] [POWERPC] Fix kernel builds with newer gcc versions and -Os

David Miller davem at davemloft.net
Sat May 3 07:42:20 EST 2008


From: Kumar Gala <galak at kernel.crashing.org>
Date: Fri, 2 May 2008 16:34:13 -0500

> We'll hopefully this thread might spark either an explanation for why  
> we aren't just linking libgcc in a statement that says we should and  
> we can remove the code that implements libgcc functionality.
> 
> How would libgcc linking intermix with modules?  Would we have to  
> EXPORT_SYMBOL() all functions that libgcc implements?  I'm guessing  
> that's varies w/different gcc versions.

If you link in libgcc, all of a sudden you have a whole new class of
potential problems, don't do it.

All it takes is one of these libgcc libcalls the kernel actually
references, needing something else in libc, to make this exercise
futile.



More information about the Linuxppc-dev mailing list