-
Notifications
You must be signed in to change notification settings - Fork 14
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
ppc64 crossbuild fails #1999
Comments
Ok in a debian container where I am now I was able to reproduce an output for llvm-14 and llvm-18 which have the same error (I tried llvm-18 thinking that for other arch than x86, llvm minimum versions could be higher)
|
Thanks for the report! With |
Ok thanks I did not see that issue. Maybe the Linux kernel documentation should be changed so it does not state LLVM=1 in the chart :). |
Well |
Hello,
I am not yet knowledgeable on kernel internals, however I was curious about building a kernel with clang.
I followed instructions here https://docs.kernel.org/kbuild/llvm.html
And made my tests on a clean debian stable vm with llvm/clang 14 and 18 (the later from apt-llvm)
The kernel 6.7.5 built perfectly with clang for my native x86 pc and crossbuild with ARCH=riscv
However the ppc64 build failed on both :
(debian system clang 14)
and
(apt llvm)
I hope I gave enough info to reproduce.
(I used
apt build-dep linux
to install the dependencies and ensured the kernel could be built with gcc. so not a dependency problem)I am happy to contribute at my level,
(And sorry I don't have the build log/error anymore, but it is very fast to reproduce)
The text was updated successfully, but these errors were encountered: