[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux 5.0 and altivec



* Elimar Riesebieter <riesebie@lxtec.de> [2019-03-09 09:56 +0100]:

> Hi all,
> 
> I tried to compile linux 5.0 on my G4 powerbook 7447A altivec supported:
> 
>  arch/powerpc/kernel/ptrace.c: In function ‘vr_get’:
>   arch/powerpc/kernel/ptrace.c:567:5: note: ‘vrsave’ declared here
>      } vrsave;
>        ^~~~~~
>   cc1: error: AltiVec not supported in this target
>   make[5]: *** [scripts/Makefile.build:277: arch/powerpc/lib/xor_vmx.o] Error 1
>   make[4]: *** [scripts/Makefile.build:492: arch/powerpc/lib] Error 2
>   make[3]: *** [Makefile:1046: arch/powerpc] Error
> 
> Doesn't 5.0 support altivec anymore?

Have had to set "CONFIG_GENERIC_CPU=y" instead of
"CONFIG_E300C2_CPU=y". Sorry for the noise.

Sigh
Elimar
-- 
  Alles, was viel bedacht wird, wird bedenklich!;-)
         Friedrich Nietzsche


Reply to: