Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
I am currently trying to expand the regime of LLVM to Sparc kernel codes.
The following is the initial error messages. Any comment is welcomed.
#1. Inline Assembly
register struct thread_info *current_thread_info_reg asm(“g6”);
include/asm/thread_info.h:77: error: invalid register name for ‘current_thread_info_reg’
#2. Link error for single C file
/tmp/ccQBRbb6.s:2226: Error: symbol `lstat64’ is already defined
/tmp/ccQBRbb6.s:2242: Error: symbol `stat64’ is already defined
/tmp/ccQBRbb6.s:2280: Error: symbol `fstat64’ is already defined