kumquat-buildroot/board/qemu
Romain Naour 39a9a0117d configs/qemu_mips32r6: fix Linux kernel build with gcc 10.x
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 fail 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/655618359
https://gitlab.com/kubu93/buildroot/-/jobs/655618360

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-05 23:13:13 +02:00
..
aarch64-virt board/qemu/aarch64-virt/linux.config: enable VIRTIO_FS driver 2020-07-11 15:54:17 +02:00
arm-versatile board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress-tz board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
csky board/qemu: add defconfig file name as tag after the qemu command line 2020-04-13 21:51:12 +02:00
m68k-mcf5208 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
m68k-q800 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazebe-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazeel-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r6-malta configs/qemu_mips32r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:13 +02:00
mips32r6el-malta configs/qemu_mips32r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:13 +02:00
mips64-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64r6-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64r6el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
nios2-10m50 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
or1k board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-e5500 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64le-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-g3beige board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mac99 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mpc8544ds board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-virtex-ml507 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
riscv32-virt board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
riscv64-virt board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
sh4-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sh4eb-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sparc64-sun4u board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
sparc-ss10 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86_64 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
xtensa-lx60 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
post-image.sh board/qemu: add post-image script for gitlab qemu testing 2020-04-13 21:51:12 +02:00