Skip to contentSkip to conversation

configs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91

PATCH In review Giulio Benetti 2 participants 3 messages May 22, 2024 – May 24, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91

Build fails with gcc 13 with:
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__)

As explained in Linux commit[0] that fixes the build, sizeof() of enum like '(1<<31)' translate to a 64-bit type, but we expect a 32-bit type. So commit[0] makes sure the data type to be 32-bits wide by using BIT() macro.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566

---
V1->V2:
* improve commit log as requested by Romain Naour

---
 configs/amarula_vyasa_rk3288_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/amarula_vyasa_rk3288_defconfig +1 -1
index 7976537225..0dd47f498f 100644
@@ -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"
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Build fails with gcc 13 with:
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__)

As explained in Linux commit[0] that fixes the build, sizeof() of enum like '(1<<31)' translate to a 64-bit type, but we expect a 32-bit type. So commit[0] makes sure the data type to be 32-bits wide by using BIT() macro.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548

Quoted 7 lines

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566

---
V1-> V2:
* improve commit log as requested by Romain Naour

Committed, thanks.

Could you also send a patch adding download hashes for the defconfig (see utils/add-custom-hashes)?

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 25 lines · Peter Korsgaard
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Build fails with gcc 13 with:
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__)

As explained in Linux commit[0] that fixes the build, sizeof() of enum like '(1<<31)' translate to a 64-bit type, but we expect a 32-bit type. So commit[0] makes sure the data type to be 32-bits wide by using BIT() macro.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548

Quoted 7 lines

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566

---
V1-> V2:
* improve commit log as requested by Romain Naour

Quoted 5 lines

Committed, thanks.

Could you also send a patch adding download hashes for the defconfig (see utils/add-custom-hashes)?

Sure, here is the patch:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Best regards

Signature · 6 lines
Giulio Benetti
CEO&CTO@Benetti Engineering
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot