780af51d86
When building the linux kernel for PPC_85xx cpus with GCC 8, the build fail with: powerpc-e500v2-linux-gnuspe-gcc: error: unrecognized argument in option '-mcpu=powerpc' powerpc-e500v2-linux-gnuspe-gcc: note: valid arguments to '-mcpu=' are: 8540 8548 native "GCC started treating "PowerPC" and "PowerPC SPE" as two different architectures and that's the reason for the reduced -mcpu list." [1] As suggested in the crosstool-ng issue [1], apply the Debian patch to avoid -mcpu=powerpc or -mcpu=powerpc64. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/830981654 [1] https://github.com/crosstool-ng/crosstool-ng/issues/1152 [2] https://salsa.debian.org/kernel-team/linux/-/blob/buster/debian/patches/bugfix/powerpc/powerpc-fix-mcpu-options-for-spe-only-compiler.patch Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> |
||
---|---|---|
.. | ||
aarch64-virt | ||
arm-versatile | ||
arm-vexpress | ||
arm-vexpress-tz | ||
csky | ||
m68k-mcf5208 | ||
m68k-q800 | ||
microblazebe-mmu | ||
microblazeel-mmu | ||
mips32r2-malta | ||
mips32r2el-malta | ||
mips32r6-malta | ||
mips32r6el-malta | ||
mips64-malta | ||
mips64el-malta | ||
mips64r6-malta | ||
mips64r6el-malta | ||
nios2-10m50 | ||
or1k | ||
ppc64-e5500 | ||
ppc64-pseries | ||
ppc64le-pseries | ||
ppc-g3beige | ||
ppc-mac99 | ||
ppc-mpc8544ds | ||
ppc-virtex-ml507 | ||
riscv32-virt | ||
riscv64-virt | ||
s390x | ||
sh4-r2d | ||
sh4eb-r2d | ||
sparc64-sun4u | ||
sparc-ss10 | ||
x86 | ||
x86_64 | ||
xtensa-lx60 | ||
post-image.sh |