[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Török Edwin
edwintorok at gmail.com
Tue Sep 30 11:50:19 PDT 2008
On 2008-09-29 07:46, Keun Soo Yim wrote:
>
>
>
> 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'
>
I suggest you open a bug and attach a preprocessed C source file.
>
>
> #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
>
How does that file look like? Use -save-temps and attach them to a
bugreport.
Best regards,
--Edwin
>
>
More information about the llvm-dev
mailing list