Displaying 5 results from an estimated 5 matches for "tmp_syscall".
2008 Sep 27
2
[LLVMdev] compile linux kernel
...x
-mno-sse2 -mno-3dnow -maccumulate-outgoing-args
-fomit-frame-pointer -g -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(syscall)"
-D"KBUILD_MODNAME=KBUILD_STR(syscall)" -c -o
arch/x86_64/kernel/.tmp_syscall.o arch/x86_64/kernel/syscall.c
arch/x86_64/kernel/syscall.c:22: error: '__NR_syscall_max' undeclared
here (not in a function)
arch/x86_64/kernel/syscall.c:24: error: array index in initializer not
of integer type
arch/x86_64/kernel/syscall.c:24: error: (near initialization for
'sys_call...
2008 Sep 28
0
[LLVMdev] compile linux kernel
...accumulate-outgoing-args
> -fomit-frame-pointer -g -fno-stack-protector
> -Wdeclaration-after-statement -Wno-pointer-sign
> -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(syscall)"
> -D"KBUILD_MODNAME=KBUILD_STR(syscall)" -c -o
> arch/x86_64/kernel/.tmp_syscall.o arch/x86_64/kernel/syscall.c
> arch/x86_64/kernel/syscall.c:22: error: '__NR_syscall_max' undeclared
> here (not in a function)
> arch/x86_64/kernel/syscall.c:24: error: array index in initializer not
> of integer type
> arch/x86_64/kernel/syscall.c:24: error: (near initial...
2008 Sep 27
0
[LLVMdev] compile linux kernel
On Fri, Sep 26, 2008 at 9:19 PM, Ashish Bijlani
<ashish.bijlani at gmail.com> wrote:
> Hi,
>
> I'm trying to compile linux-2.6.23.16 with llvm-2.3. Is it at all
> possible?
Yes, but it requires significant hacking, and the result for 2.6 is a
mostly bitcode kernel with a few userspace shared libraries linked in
as objcode (yes, the kernel builds .so files and includes them
2008 Sep 27
4
[LLVMdev] compile linux kernel
Hi,
I'm trying to compile linux-2.6.23.16 with llvm-2.3. Is it at all
possible? I get "Not an ELF" error. I pass "-emit-llvm" option to spit
LLVM IR, which can be JITed at runtime
$ make CROSS_COMPILE=llvm- CFLAGS="-O2 -emit-llvm"
Error: not ELF
make[2]: *** [scripts/mod/elfconfig.h] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
using
2008 Sep 28
3
[LLVMdev] compile linux kernel
...args
>> -fomit-frame-pointer -g -fno-stack-protector
>> -Wdeclaration-after-statement -Wno-pointer-sign
>> -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(syscall)"
>> -D"KBUILD_MODNAME=KBUILD_STR(syscall)" -c -o
>> arch/x86_64/kernel/.tmp_syscall.o arch/x86_64/kernel/syscall.c
>> arch/x86_64/kernel/syscall.c:22: error: '__NR_syscall_max' undeclared
>> here (not in a function)
>> arch/x86_64/kernel/syscall.c:24: error: array index in initializer not
>> of integer type
>> arch/x86_64/kernel/syscall.c:24:...