-
Notifications
You must be signed in to change notification settings - Fork 15
BUILD_BUG() failed with arm64's gki_defconfig #1503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is probably a way better IR reproducer for this but this is what
cvise files here: https://github.com/nathanchance/creduce-files/tree/1475da898a391c5eeb19eaf57c5656530d21e920/cbl-1503 |
It looks like this can be reproduced with just |
Marc Zyngier sent https://lore.kernel.org/r/[email protected]/ to resolve this. |
Resolves the following errors: https://github.com/ClangBuiltLinux/continuous-integration2/runs/4212005132?check_suite_focus=true https://github.com/ClangBuiltLinux/continuous-integration2/runs/4242591528?check_suite_focus=true Link: ClangBuiltLinux/linux#1503 Signed-off-by: Nathan Chancellor <[email protected]>
Merged into mainline: https://git.kernel.org/linus/1edb7e74a7d3d64dc4e69e7059b4eea526d19a10 |
During Android's mainline merges, I noticed a patch removing some
BUILD_BUG()
calls that were triggering. This can be reproduced with a ToT LLVM and mainline kernel with Android'sgki_defconfig
so this is probably something that should be investigated and fixed.Brief initial triage leads me to believe this is an LTO problem, as outright disabling LTO makes the problem go away:
I will see if I can figure out exactly what configuration options tickle this then create a small reproducer and report it upstream.
The text was updated successfully, but these errors were encountered: