[PATCH] arm64/signal: Clean up SVE/SME feature checking inconsistency

Will Deacon will at kernel.org
Fri Jun 24 07:10:46 PDT 2022


On Fri, Jun 24, 2022 at 02:28:07PM +0100, Mark Brown wrote:
> On Thu, Jun 23, 2022 at 06:47:38PM +0100, Will Deacon wrote:
> 
> > This breaks the allnoconfig build for me:
> 
> > ld.lld: error: undefined symbol: restore_sve_fpsimd_context
> > >>> referenced by signal.c
> > >>>               kernel/signal.o:(__arm64_sys_rt_sigreturn) in archive arch/arm64/built-in.a
> > make: *** [Makefile:1164: vmlinux] Error 1
> 
> I can't reproduce that here - could you confirm exactly what tree you
> applied against and what toolchain you're using?  I'm normally using
> clang 15 at the minute, 14 seems fine too, and applied against both
> -next and v5.19-rc3 all of which are building an allnoconfig happily for
> me.

I can reproduce the issue with just this patch applied on top of -rc3.
I'll give your v2 a try, bu FWIW I'm using clang 12.0.6 and building
using:

$ make LLVM=1 ARCH=arm64 mrproper allnoconfig
$ make LLVM=1 ARCH=arm64 -j100

Will



More information about the linux-arm-kernel mailing list