configs/microchip_mpfs_icicle_defconfig: fix zicsr build error
PATCH 1/1 configs/microchip_mpfs_icicle_defconfig: fix zicsr build error
Build is failing with an unrecognised opcode error due to missing zicsr extension requirement. This is introduced with GCC version 12. All our current defconfigs use GCC version 11. Add GCC version 11 kconfig to fix this build error and align with our downstream Buildroot-External defconfigs.
--- configs/microchip_mpfs_icicle_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/microchip_mpfs_icicle_defconfig +1 -1
@@ -1,7 +1,7 @@ BR2_riscv=y -BR2_riscv_g=y BR2_RISCV_ISA_RVC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y +BR2_GCC_VERSION_11_X=y BR2_TARGET_GENERIC_HOSTNAME="mpfs_icicle" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/microchip/mpfs_icicle/post-image.sh" BR2_LINUX_KERNEL=y
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Jamie,
Quoted 7 lines · On Tue, 19 Sep 2023 09:10:12 +0100 Jamie Gibbons via buildroot…
Build is failing with an unrecognised opcode error due to missing
zicsrextension requirement. This is introduced with GCC version 12. All our current defconfigs use GCC version 11. Add GCC version 11 kconfig to fix this build error and align with our downstream Buildroot-External defconfigs.Signed-off-by Jamie Gibbons <[email protected]>
Hm, we really want to fix this the proper, aka make this work with GCC 12+. Indeed as soon as GCC 14.x lands, we will drop support for GCC 11.x, so the solution proposed here really isn't suitable :-/
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot