Message ID | 20240520165801.2247467-1-giulio.benetti@benettiengineering.com |
---|---|
State | Superseded |
Headers | show |
Series | configs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91 | expand |
Hello Giulio, Le 20/05/2024 à 18:58, Giulio Benetti a écrit : > Fixes: > https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548 It would be great if you can explain how the version bump fix the build issue. In the full build log we can notice: In file included from <command-line>: drivers/ata/libahci.c: In function 'ahci_led_store': ././include/linux/compiler_types.h:357:45: error: call to '__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long) 357 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) This error seems to be fixed by "ata: ahci: fix enum constants for gcc-13" from v6.1.4: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566 Best regards, Romain > > Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> > --- > configs/amarula_vyasa_rk3288_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/amarula_vyasa_rk3288_defconfig b/configs/amarula_vyasa_rk3288_defconfig > index 7976537225..0dd47f498f 100644 > --- a/configs/amarula_vyasa_rk3288_defconfig > +++ b/configs/amarula_vyasa_rk3288_defconfig > @@ -23,7 +23,7 @@ BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" > # Kernel > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_VERSION=y > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.2" > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.91" > BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" > BR2_LINUX_KERNEL_UIMAGE=y > BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000"
Hello Romain, On 22/05/24 15:30, Romain Naour wrote: > Hello Giulio, > > Le 20/05/2024 à 18:58, Giulio Benetti a écrit : >> Fixes: >> https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548 > > It would be great if you can explain how the version bump fix the build issue. Sure, I've just sent a V2 and, > In the full build log we can notice: > > In file included from <command-line>: > drivers/ata/libahci.c: In function 'ahci_led_store': > ././include/linux/compiler_types.h:357:45: error: call to > '__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed: > sizeof(_s) > sizeof(long) > 357 | _compiletime_assert(condition, msg, __compiletime_assert_, > __COUNTER__) > > This error seems to be fixed by "ata: ahci: fix enum constants for gcc-13" from > v6.1.4: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566 thank you for pointing me the commit fixing the bug. Best regards
diff --git a/configs/amarula_vyasa_rk3288_defconfig b/configs/amarula_vyasa_rk3288_defconfig index 7976537225..0dd47f498f 100644 --- a/configs/amarula_vyasa_rk3288_defconfig +++ b/configs/amarula_vyasa_rk3288_defconfig @@ -23,7 +23,7 @@ BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.2" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.91" BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000"
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548 Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- configs/amarula_vyasa_rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)