Skip to contentSkip to conversation

configs/sheevaplug_defconfig: bump Linux to fix binutils 2.41 build

PATCH In review Peter Korsgaard 2 participants 4 messages May 6, 2024 – May 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 configs/sheevaplug_defconfig: bump Linux to fix binutils 2.41 build

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

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):

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.14.y&id=3ab03df64f7754728a2257c47775a70a88428331

---
 configs/sheevaplug_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/sheevaplug_defconfig +1 -1
index 7f186df22c..0879f17071 100644
@@ -27,7 +27,7 @@ BR2_TARGET_UBOOT_FORMAT_KWB=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
#1 lore raw

PATCH v2 2/2 configs/sheevaplug_defconfig: add hashes for u-boot and Linux

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.

Generated by utils/add-custom-hashes, with the (redundant) linux-headers.hash replaced by a symlink.

---
 board/sheevaplug/patches/linux-headers/linux-headers.hash | 1 +
 board/sheevaplug/patches/linux/linux.hash                 | 2 ++
 board/sheevaplug/patches/uboot/uboot.hash                 | 2 ++
 configs/sheevaplug_defconfig                              | 1 +
 4 files changed, 6 insertions(+)
 create mode 120000 board/sheevaplug/patches/linux-headers/linux-headers.hash
 create mode 100644 board/sheevaplug/patches/linux/linux.hash
 create mode 100644 board/sheevaplug/patches/uboot/uboot.hash
board/sheevaplug/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 120000
index 0000000000..5808d92afe
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
board/sheevaplug/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..b207306a2b
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
board/sheevaplug/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..d6818bac36
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  9f10df88bc91b35642e461217f73256bbaeeca9ae2db8db56197ba5e89e1f6d4  u-boot-2018.07.tar.bz2
configs/sheevaplug_defconfig +1 -0
index 0879f17071..6b3719a507 100644
@@ -4,6 +4,7 @@ BR2_arm926t=y
 
 # system
 BR2_GLOBAL_PATCH_DIR="board/sheevaplug/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_GETTY=y
 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
#2 lore raw
In reply to Peter Korsgaard
Quoted 15 lines · On Mon, 6 May 2024 09:40:11 +0200 Peter Korsgaard <[email protected]> wrote:

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

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):

Quoted 6 lines

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.14.y&id=3ab03df64f7754728a2257c47775a70a88428331

---
 configs/sheevaplug_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Series applied. In the second patch you had forgotten (perhaps intentionally?) to update .checkpackageignore, so I did it while applying.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 6 lines
Quoted 6 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):

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.14.y&id=3ab03df64f7754728a2257c47775a70a88428331

Quoted 8 lines
Quoted 4 lines

---
configs/sheevaplug_defconfig | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

Series applied. In the second patch you had forgotten (perhaps intentionally?) to update .checkpackageignore, so I did it while applying.

Ahh, I hadn't seen commit 7931f78c16f08f7 yet, still running a bit behind for 2024.02.x after the holidays.

Thanks for fixing it up.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot