From ab34c4560a092d464747162b287eabcfb3dc143f Mon Sep 17 00:00:00 2001 From: Shengwen Cheng Date: Sat, 1 Feb 2025 21:20:59 +0800 Subject: [PATCH] Bump Buildroot to the 2024.11.1 release The GCC 14 now enforces a stricter error level by treating the -Wimplicit-int warning as an error by default. This change causes a compilation issue with the libsha1 library, which is necessary for enabling the X.Org Server. Upgrading to Buildroot version 2024.11.1 resolves this issue, as it includes a patch [1] that addresses the problem. [1] https://github.com/buildroot/buildroot/blob/65137580ca9ed060c59544b9859fc64 8e902c694/package/libsha1/0001-test-fix-gcc-14.x-compile-implicit-int.patch --- scripts/build-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-image.sh b/scripts/build-image.sh index 77916b5..c6a1383 100755 --- a/scripts/build-image.sh +++ b/scripts/build-image.sh @@ -21,7 +21,7 @@ PARALLEL="-j$(nproc)" function do_buildroot { - ASSERT git clone https://github.com/buildroot/buildroot -b 2024.05.2 --depth=1 + ASSERT git clone https://github.com/buildroot/buildroot -b 2024.11.1 --depth=1 cp -f configs/buildroot.config buildroot/.config cp -f configs/busybox.config buildroot/busybox.config # Otherwise, the error below raises: