5259a39c7a
From [1] "GCC 10 (PR 91233) won't silently allow registers that are not architecturally available to be present in the clobber list anymore, resulting in build failure for mips*r6 targets in form of: ... .../sysdep.h:146:2: error: the register ‘lo’ cannot be clobbered in ‘asm’ for the current target 146 | __asm__ volatile ( \ | ^~~~~~~ This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension. This patch provides the alternative clobber list for r6 targets that won't include those registers." Since kernel 5.4 and mips support for generic vDSO [2], the kernel fails to build for mips r6 cpus with gcc 10 for the same reason as glibc. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24640f233b466051ad3a5d2786d2951e43026c9d Fixes: https://gitlab.com/kubu93/buildroot/-/jobs/655618363 https://gitlab.com/kubu93/buildroot/-/jobs/655618364 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.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 | ||
sh4-r2d | ||
sh4eb-r2d | ||
sparc64-sun4u | ||
sparc-ss10 | ||
x86 | ||
x86_64 | ||
xtensa-lx60 | ||
post-image.sh |