[PATCH] powerpc: e500: Fix compilation with gcc e500 compiler

Segher Boessenkool segher at kernel.crashing.org
Wed May 25 03:59:55 AEST 2022


Hi!

On Tue, May 24, 2022 at 11:39:39AM +0200, Pali Rohár wrote:
> gcc e500 compiler does not support -mcpu=powerpc option. When it is
> specified then gcc throws compile error:
> 
>   gcc: error: unrecognized argument in option ‘-mcpu=powerpc’
>   gcc: note: valid arguments to ‘-mcpu=’ are: 8540 8548 native

What?  Are you using some modified version of GCC, perhaps?  No version
of GCC that isn't hamstrung can have this output.


Segher


More information about the Linuxppc-dev mailing list