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
Hi,
I encountered a difficulty about how to compile driver using clang and I find your tool can make it so I need your help.
For example, I want to compile the bluetooth module of the drivers in the linux kernel 4.19.9. I substitute the gcc by clang in the Makefile. But there were some mistakes and it says "You are building kernel with non-retpoline compiler, please update your compiler." .
So, if you intend to compile the bluetooth module, what will you do? Could you explain it?
Thanks.
The text was updated successfully, but these errors were encountered:
Yes. I find that the issue is that clang cannot pass the check before beginning compiling the kernel. Now I find a walk-around to bypass the check, but when I'm compiling, the clang compiler complains about asm
Hi,
I encountered a difficulty about how to compile driver using clang and I find your tool can make it so I need your help.
For example, I want to compile the bluetooth module of the drivers in the linux kernel 4.19.9. I substitute the gcc by clang in the Makefile. But there were some mistakes and it says "You are building kernel with non-retpoline compiler, please update your compiler." .
So, if you intend to compile the bluetooth module, what will you do? Could you explain it?
Thanks.
The text was updated successfully, but these errors were encountered: