Message ID | 20220529131811.481017-2-romain.naour@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [for-next,01/11] arch/Config.in.riscv: add Zicsr and Zifencei standalone extensions | expand |
On Sun, 29 May 2022 15:18:02 +0200 Romain Naour <romain.naour@gmail.com> wrote: > To build this defconfig with gcc 12, we need a patch from v5.15.24 [1] > fixing the build with gcc 12. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7486227fa47aa84b102be18fd9985f6e8e11e756 > > Signed-off-by: Romain Naour <romain.naour@gmail.com> > Cc: Mark Corbin <mark@dibsco.co.uk> > --- > The issue fixed by [1] can also be trigged with gcc 12 and binutils 2.37. > --- > configs/qemu_riscv32_virt_defconfig | 2 +- > configs/qemu_riscv64_virt_defconfig | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas
diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig index dff87ef342..faf4e1e312 100644 --- a/configs/qemu_riscv32_virt_defconfig +++ b/configs/qemu_riscv32_virt_defconfig @@ -19,7 +19,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.43" BR2_LINUX_KERNEL_DEFCONFIG="rv32" BR2_LINUX_KERNEL_IMAGE=y diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig index d67d070185..c455680ee0 100644 --- a/configs/qemu_riscv64_virt_defconfig +++ b/configs/qemu_riscv64_virt_defconfig @@ -19,7 +19,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.43" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_IMAGE=y
To build this defconfig with gcc 12, we need a patch from v5.15.24 [1] fixing the build with gcc 12. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7486227fa47aa84b102be18fd9985f6e8e11e756 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Mark Corbin <mark@dibsco.co.uk> --- The issue fixed by [1] can also be trigged with gcc 12 and binutils 2.37. --- configs/qemu_riscv32_virt_defconfig | 2 +- configs/qemu_riscv64_virt_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)