You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
Hello! Neat project, a lot of folks in Android are keeping an eye on it. If you run into any issues with Clang or LLVM for the Linux kernel (or need help with anything else roughly related), please let us know: https://github.com/ClangBuiltLinux/linux/issues.
The text was updated successfully, but these errors were encountered:
We changed our target triple from x86-unknown-linux-gnu to x86-elf to avoid LLVM emitting a call to bcmp() instead of memcmp(). I see the upstream kernel solved this by just adding a memcmp() symbol, do you know if it would be better to change the target triple to not claim to be linux-gnu? (See Do not pretend to be a GNU/Linux #114.)
Do you have a suggested qemu image or something of a Clang-built kernel that we can throw in our CI? (Right now our CI is currently "use the kernel installed on Travis" but next time I get a chunk of free time I'll retool it to call into qemu images or something.)
lol, I wrote the kernel patch for bcmp. I highly recommend sticking with the same target triple that the rest of clang and the kernel use, ie. <arch>-linux-gnu. I also backported my patch to stable LTS branches, so those should all work for you (though some distro's have strange non-LTS kernel versions, I assume they manually backport stable...or at least I hope they do).
Hello! Neat project, a lot of folks in Android are keeping an eye on it. If you run into any issues with Clang or LLVM for the Linux kernel (or need help with anything else roughly related), please let us know: https://github.com/ClangBuiltLinux/linux/issues.
The text was updated successfully, but these errors were encountered: