https://bugs.llvm.org/show_bug.cgi?id=41447
Bug ID: 41447
Summary: clang, sparc: missing compiler command line flags for
linux kernel build
Product: new-bugs
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
I tried to build the Linux kernel for sparc32 and sparc64. Both work with few
changes, but the Makefiles pass a number of options to the compiler that clang
does not understand.
In particular, linux-5.1 passes
-mno-fpu
-fcall-used-g5
-fcall-used-g7
-mcpu=ultrasparc
-mcmodel=medlow
-ffixed-g4
-ffixed-g5
-fcall-used-g7
-mv8plus
Removing all of these from the Makefile gets it to compile almost all files,
but I'm fairly sure this will not boot because some of the options are in fact
required.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs