[PATCH] [POWERPC] Fix kernel builds with newer gcc versions and -Os
galak at kernel.crashing.org
Sat May 3 01:26:43 EST 2008
On May 2, 2008, at 10:07 AM, Scott Wood wrote:
> On Fri, May 02, 2008 at 09:21:08AM -0500, Kumar Gala wrote:
>> GCC 4.4.x looks to be adding support for generating out-of-line
>> saves/restores based on:
>> This breaks the kernel build as we'd have to link with libgcc to
>> get the
>> implementation of the register save/restores.
> Why don't we just link with libgcc?
Its something of a PITA to do that in the kernel at this point since
we've duplicated libgcc functionality in it. I'm sure there are some
historical reasons this wasn't done to start with.
More information about the Linuxppc-dev