|
@kees_cook | |||||
|
If anyone wants to follow along with booting a Clang-built CFI-enabled x86 kernel, I've written up the instructions to build the latest LLVM and @samitolvanen's LTO/CFI/SCS tree. Enjoy! outflux.net/blog/archives/…
|
||||||
|
||||||
|
Itaru Kitayama
@itaru
|
21. stu |
|
I've been having a problem building kernel with Trunk Clang on 64-bit Arm, I'll see if your post helps my situation. Thank!
|
||
|
|
||
|
Kees Cook
@kees_cook
|
22. stu |
|
When I do Clang arm64 builds, my "make" looks like:
make -j$(getconf _NPROCESSORS_ONLN) ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CC=$HOME/src/llvm-build/bin/clang target-goes-here
(And if you want lld, also add "LD=$HOME/src/llvm-build/bin/ld.lld")
|
||
|
|
||