Re: [PATCH] powerpc: vdso: fix building with wrong-endian toolchain

2024-06-07 Thread Segher Boessenkool
On Fri, Jun 07, 2024 at 10:42:44PM +1000, Michael Ellerman wrote: > I use the korg toolchains every day, and kisskb uses them too. > > What commit / defconfig are you seeing the errors with? > > Is it just the 12.3.0 toolchain or all of them? I just tested 12.3.0 > here and it built OK. > > I gu

Re: [PATCH] powerpc: vdso: fix building with wrong-endian toolchain

2024-06-07 Thread Nathan Chancellor
On Fri, Jun 07, 2024 at 04:11:25PM +0200, Arnd Bergmann wrote: > This patch seems to work as well for me, and is a little > more logical, but it's also more invasive and has a > higher regression risk: Commit feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS") did something similar for

Re: [PATCH] powerpc: vdso: fix building with wrong-endian toolchain

2024-06-07 Thread Arnd Bergmann
On Fri, Jun 7, 2024, at 14:42, Michael Ellerman wrote: > Arnd Bergmann writes: >> >> Signed-off-by: Arnd Bergmann >> --- >> I'm fairly sure this worked in the past, but I did not try to bisect the >> issue. > > It still works for me. > > I use the korg toolchains every day, and kisskb uses them t

Re: [PATCH] powerpc: vdso: fix building with wrong-endian toolchain

2024-06-07 Thread Michael Ellerman
Arnd Bergmann writes: > From: Arnd Bergmann > > Building powerpc64le kernels with the kernel.org crosstool toolchains > no longer works as the linker attempts to build a big-endian vdso: > > powerpc-linux/lib/gcc/powerpc-linux/12.3.0/../../../../powerpc-linux/bin/ld: > arch/powerpc/kernel/vdso/s

[PATCH] powerpc: vdso: fix building with wrong-endian toolchain

2024-06-06 Thread Arnd Bergmann
From: Arnd Bergmann Building powerpc64le kernels with the kernel.org crosstool toolchains no longer works as the linker attempts to build a big-endian vdso: powerpc-linux/lib/gcc/powerpc-linux/12.3.0/../../../../powerpc-linux/bin/ld: arch/powerpc/kernel/vdso/sigtramp32-32.o: compiled for a litt