Displaying 4 results from an estimated 4 matches for "aspectskernel".
2008 Sep 27
2
[LLVMdev] compile linux kernel
I plan to use virtualization infrastructure to JIT VM Kernel Code.
Michael Engel has done that in the past to have dynamic aspect in the
Kernel: http://llvm.org/pubs/2005-03-14-ACP4IS-AspectsKernel.pdf
He used L4 based Hypervisor and Virtual Machines. Can this not be done
or am I missing something?
-Ashish
On Sat, Sep 27, 2008 at 3:13 AM, Török Edwin <edwintorok at gmail.com> wrote:
> On 2008-09-27 05:19, Ashish Bijlani wrote:
>> Hi,
>>
>> I'm trying to compi...
2008 Sep 27
0
[LLVMdev] compile linux kernel
On 2008-09-27 18:29, Ashish Bijlani wrote:
> I plan to use virtualization infrastructure to JIT VM Kernel Code.
> Michael Engel has done that in the past to have dynamic aspect in the
> Kernel: http://llvm.org/pubs/2005-03-14-ACP4IS-AspectsKernel.pdf
>
> He used L4 based Hypervisor and Virtual Machines. Can this not be done
> or am I missing something?
>
I think you'll need to modify the kernel build scripts to not expect ELF
output, such as mk_elfconfig.
LLVM outputs its own bytecode format when you use -emit-llvm, and...
2008 Sep 27
0
[LLVMdev] compile linux kernel
On 2008-09-27 05:19, Ashish Bijlani wrote:
> 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
>
>
If you want to build a kernel you can't use the JIT anyway, so why not
just build native code?
Best regards,
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