compile quirk linux-2.6.24 (with workaround)

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Feb 5 08:01:21 EST 2008


On Sun, 3 Feb 2008 17:29:05 +0100
Bernhard Reiter <bernhard at intevation.de> wrote:

> Dear linux powerpc Maintainers and Users,
> 
> recently I have tried to compile a new kernel on a Debian sarge ppc
> system (PowerBook5,6 MacRISC3 Power Macintosh).
> 
> The build system bailed out with
>        BOOTCC  arch/powerpc/boot/4xx.o
>         cc1: error: bad value (440) for -mcpu= switch
>         make[1]: *** [arch/powerpc/boot/4xx.o] Fehler 1
> 
> I have tracked this a few steps and the attached patch made the compile for me
> as my compiler gcc-Version 3.3.5 (Debian 1:3.3.5-13) 
> cannot produce code for 4xx it seems.
> 
> The "ARCH=ppc64" I have came about also looked wrong, but I do not know
> if this part of the patch is really necessary.
> It is just a workaround, as I have no insight of what is really going wrong.

That patch really won't fly.  I'll try go come up with something a bit
more robust when I can.

josh



More information about the Linuxppc-dev mailing list