[llvmlinux] Clang IA and other architectures
behanw at converseincode.com
Tue Oct 10 22:43:53 UTC 2017
> On Oct 10, 2017, at 1:11 AM, Kasper Lindegaard Stilling <klstilling at gmail.com> wrote:
> Dear LLVMLinux mailing list,
> I am doing a BSc. project where I am to port the Linux kernel to a new architecture.
> It has recently come to my attention that the integrated assembler might not be usable for building the Linux kernel. I am wondering if this only applies to specific architectures or if there is some code in other parts of the kernel that relies upon the GNU assembler?
Existing ASM in the arches depends on certain GNU-isms (particularly in arm). If you’re starting a brand new arch which is supported by clang, you’ll probably be fine.
My advise is use a more recent version of llvm/clang. And test with both gcc and clang.
More information about the LLVMLinux