configs/openblocks_a6_defconfig: bump Linux to fix binutils 2.41 build
PATCH 1/2 configs/openblocks_a6_defconfig: bump Linux to fix binutils 2.41 build
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6813125272
The Linux kernel fails to build since commit e88225ed882 (package/binutils:
make 2.41 the default version):
arch/arm/mm/proc-feroceon.S: Assembler messages:arch/arm/mm/proc-feroceon.S:587: Error: junk at end of line, first unrecognized character is `#' make[3]: *** [scripts/Makefile.build:430: arch/arm/mm/proc-feroceon.o] Error 1 make[3]: *** Waiting for unfinished jobs....
Fix the build by bumping the kernel to 4.14.336, which includes commit 3ab03df64f77 (ARM: 8933/1: replace Sun/Solaris style flag on section directive):
--- configs/openblocks_a6_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/openblocks_a6_defconfig +1 -1
@@ -17,7 +17,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y # kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.336" BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" BR2_LINUX_KERNEL_APPENDED_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 configs/openblocks_a6_defconfig: add hashes for Linux / headers
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
Generated by utils/add-custom-hashes, with the (redundant) linux-headers.hash replaced by a symlink.
--- board/openblocks/a6/patches/linux-headers/linux-headers.hash | 1 + board/openblocks/a6/patches/linux/linux.hash | 2 ++ configs/openblocks_a6_defconfig | 2 ++ 3 files changed, 5 insertions(+) create mode 120000 board/openblocks/a6/patches/linux-headers/linux-headers.hash create mode 100644 board/openblocks/a6/patches/linux/linux.hash
board/openblocks/a6/patches/linux-headers/linux-headers.hash new file +1 -0
@@ -0,0 +1 @@ +../linux/linux.hash
board/openblocks/a6/patches/linux/linux.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c linux-4.14.336.tar.xz
configs/openblocks_a6_defconfig +2 -0
@@ -3,6 +3,8 @@ BR2_arm=y BR2_arm926t=y # system +BR2_GLOBAL_PATCH_DIR="board/openblocks/a6/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_SYSTEM_DHCP="eth0"
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] configs/openblocks_a6_defconfig: add hashes for Linux / headers
Peter, All,
On 2024-05-14 21:50 +0200, Peter Korsgaard spake thusly:
Quoted 10 lines
And enable
BR2_DOWNLOAD_FORCE_CHECK_HASHES.Generated by utils/add-custom-hashes, with the (redundant) linux-headers.hash replaced by a symlink.
Signed-off-by Peter Korsgaard <[email protected]>--- board/openblocks/a6/patches/linux-headers/linux-headers.hash | 1 + board/openblocks/a6/patches/linux/linux.hash | 2 ++ configs/openblocks_a6_defconfig | 2 ++
$ make check-package
configs/openblocks_a6_defconfig:0: lib_defconfig.ForceCheckHash was
expected to fail, did you fix the file and forget to update
[...]/.checkpackageignore?Fixed, and applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 40 lines
3 files changed, 5 insertions(+) create mode 120000 board/openblocks/a6/patches/linux-headers/linux-headers.hash create mode 100644 board/openblocks/a6/patches/linux/linux.hashboard/openblocks/a6/patches/linux-headers/linux-headers.hash new file +1
-0@@ -0,0 +1 @@ +../linux/linux.hashboard/openblocks/a6/patches/linux/linux.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256 0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c linux-4.14.336.tar.xzconfigs/openblocks_a6_defconfig +2
-0@@ -3,6 +3,8 @@ BR2_arm=y BR2_arm926t=y # system +BR2_GLOBAL_PATCH_DIR="board/openblocks/a6/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_SYSTEM_DHCP="eth0"Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedPeter, All,
On 2024-05-14 21:50 +0200, Peter Korsgaard spake thusly:
Quoted 11 lines
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6813125272The Linux kernel fails to build since commit
e88225ed882(package/binutils:
make 2.41 the default version):
arch/arm/mm/proc-feroceon.S: Assembler messages:arch/arm/mm/proc-feroceon.S:587: Error: junk at end of line, first unrecognized character is `#' make[3]: *** [scripts/Makefile.build:430:arch/arm/mm/proc-feroceon.o] Error 1 make[3]: *** Waiting for unfinished jobs....
Quoted 7 lines
Fix the build by bumping the kernel to 4.14.336, which includes commit
3ab03df64f77(ARM: 8933/1: replace Sun/Solaris style flag on section directive):Signed-off-by Peter Korsgaard <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 24 lines
--- configs/openblocks_a6_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/openblocks_a6_defconfig +1
-1@@ -17,7 +17,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y # kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.336" BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" BR2_LINUX_KERNEL_APPENDED_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot