[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Keun Soo Yim
yim6 at illinois.edu
Sun Sep 28 21:46:23 PDT 2008
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
Code:
register struct thread_info *current_thread_info_reg asm("g6");
Error Message:
include/asm/thread_info.h:77: error: invalid register name for
'current_thread_info_reg'
#2. Link error for single C file
Error Message:
/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080928/e88c3eaa/attachment.html>
More information about the llvm-dev
mailing list