[llvmlinux] Compile kernel to target x86_64

Kai Wang wangk7 at uci.edu
Thu Nov 26 19:51:32 UTC 2015


Hi everyone,

I'm trying to compile kernel to target x86_64.
I got errors as follows :

clang-3.8: error: unknown argument: '-fcall-saved-rdi'

clang-3.8: error: unknown argument: '-fcall-saved-rsi'

clang-3.8: error: unknown argument: '-fcall-saved-rdx'

clang-3.8: error: unknown argument: '-fcall-saved-rcx'

clang-3.8: error: unknown argument: '-fcall-saved-r8'

clang-3.8: error: unknown argument: '-fcall-saved-r9'

clang-3.8: error: unknown argument: '-fcall-saved-r10'

clang-3.8: error: unknown argument: '-fcall-saved-r11'
Any suggestions about how should I fix this?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20151126/74c08a03/attachment.html>


More information about the LLVMLinux mailing list