Re: kasan with clang

2016-09-17 Thread WookHyun Han
Thank you for the link. I followed the instructions in the link, and I could build kernel with clang without kAsan However, after setting the CONFIG_KASAN to y through menuconfig, the "make CC=$CLANG_PATH/clang -j64 2>&1 | tee build.log" outputs the following errors. fs/built-in.o: In

Re: kasan with clang

2016-09-13 Thread Alexander Potapenko
Hello there, You can refer to https://github.com/ramosian-glider/clang-kernel-build for the instructions on how to build the upstream kernel with Clang. HTH, Alex On Tue, Sep 13, 2016 at 1:35 PM, WookHyun Han wrote: > Hi, > I'm doing a research to instrument Asan and