Skip to content

Conversation

MohammedZwayen
Copy link

[RPI4][ Bazel Kernel] Fix kernel config mismatching for Clang.

While trying to re-build the kernel, clang config error happened.

"ERROR: CONFIG_CC_VERSION_TEXT: actual 'Android (14043575, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460)', expected 'Android (12833971, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460)' from common/arch/arm64/configs/android_rpi4_defconfig"

This change allow the re-building by ignoring the main error, more systematic solution might be needed.

[RPI4][ Bazel Kernel] Fix kernel config mismatching for Clang.

While trying to re-build the kernel, clang config error happened.
"ERROR: CONFIG_CC_VERSION_TEXT: actual 'Android (14043575, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460)', expected 'Android (12833971, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460)' from common/arch/arm64/configs/android_rpi4_defconfig" 

this change allow the re-building by ignoring the main error, more systematic solution might be needed.
@KonstaT
Copy link
Member

KonstaT commented Oct 7, 2025

This is because the toolchain has been updated upstream since the last time I've run repo sync on the kernel build environment. Thanks for pointing this out.

Appropriate solution is to regenerate the defconfigs.
64672eb
ed71dff

@KonstaT KonstaT closed this Oct 7, 2025
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