[PATCH] powerpc/kbuild: set generic machine type for compile with 64-bit toolchain
Nicholas Piggin
npiggin at gmail.com
Thu May 10 15:18:58 AEST 2018
On Thu, 10 May 2018 10:26:37 +1000
Nicholas Piggin <npiggin at gmail.com> wrote:
> The 64-bit toolchain uses the wrong ISA variant for compiling 32-bit
> kernels, eve with -m32. Set -mcpu=powerpc which is the generic 32-bit
> powerpc machine type and scheduling model. 32-bit platforms and CPUs
> can override this with -mcpu= options that come later on the command
> line.
>
> This fixes a lot of build failures due to incompatible assembly when
> compiling 32-bit kernel with 64-bit toolchain.
Actually ignore this patch, it had a few other problems. I'll send a new
version out.
Thanks,
Nick
More information about the Linuxppc-dev
mailing list