Skip to content

Conversation

shengwen-tw
Copy link
Collaborator

@shengwen-tw shengwen-tw commented Feb 1, 2025

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] 0001-test-fix-gcc-14.x-compile-implicit-int.patch

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
@shengwen-tw shengwen-tw requested a review from jserv February 1, 2025 13:38
@jserv jserv merged commit d61c9f6 into sysprog21:master Feb 1, 2025
3 checks passed
@jserv
Copy link
Collaborator

jserv commented Feb 1, 2025

Thank @shengwen-tw for contributing!

@shengwen-tw shengwen-tw deleted the buildroot branch June 14, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants