Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] llvm-ld hangs"
2008 Sep 28
0
[LLVMdev] llvm-ld hangs
Forgot to mention that I'm trying to generate LLVM IR. I've also faced
this problem while compiling linux kernel with LLVM to generate LLVM
IR.
On Sun, Sep 28, 2008 at 6:06 PM, Ashish Bijlani
<ashish.bijlani at gmail.com> wrote:
> Hi,
>
> I'm trying to compile UML with LLVM. However, LLVM-LD hangs whiile
> linking modules. It's consuming 99% of the CPU
>
>
2005 Mar 14
4
[patch/unstable] page table cleanups
Hi,
In many places xen uses "unsigned long" instead of the l*_pgentry_t
types to pass around page table entries. Here is a patch which fixes
this in a number of places (mostly in shadow mode code). Thats what
I''ve trapped in so far, maybe more of these patches follow.
Fixing this is needed for adding PAE support to xen. In PAE paging mode
the page table entries are 64 bit
2008 Oct 25
5
sse, mmx support for hvm guests
Hi,
I''ve a quad-core x86_64 machine (Intel Xeon), with sse/mmx support.
However, I want to disable sse/mmx support from HVM guests. How can I
do this? Also, is it reasonable to expect illegal instruction fault in
non-root VMX mode if a guest VM runs an application with sse/mmx
instructions?
Thanks,
Ashish
_______________________________________________
Xen-devel mailing list
2008 Sep 28
3
[LLVMdev] compile linux kernel
does that mean .o generated with gcc (.c -> .s and .s -> .o) will not
contain llvm ir?
i meant, final kernel bitcode ir arch independent and can be JIT with
any arch-specific backend. Is it not the case?
thanks,
ashish
On Sat, Sep 27, 2008 at 10:43 PM, Andrew Lenharth <andrewl at lenharth.org> wrote:
> On Sat, Sep 27, 2008 at 8:08 PM, Ashish Bijlani
> <ashish.bijlani at
2005 May 17
8
scheduler independent forced vcpu selection
I''m working on a new hypercall, do_confer, which allows the directed
yielding of a vcpu to another vcpu. It is mainly used when a vcpu fails
to acquire a spinlock, yielding to the lock holder instead of spinning. I
ported the ppc64 spinlock implementation for the i386 linux portion. In
implementing the hypercall, I''ve been trying to figure out how to get
the scheduler
2008 Sep 28
0
[LLVMdev] compile linux kernel
No, this is not the case.
Just because you compile something to LLVM IR does not make the thing
you compiled work on every architecture.
You may even be able to retarget it to any architecture (it depends),
but this in no way means the result will *actually work*.
The LLVM IR generated by llvm-gcc is very architecture dependent.
Theoretically you could make a C compiler that was mostly C
2007 Nov 29
3
lustre osd implementation
hello,
does lustre support OSD T10 standard? Can it be used with IBM''s/Intel''s OSD
initiator and target?
Thanks,
Ashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20071128/c2de31a6/attachment-0002.html
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 27
2
[LLVMdev] compile linux kernel
Thanks for the help. I've a couple of questions though:
How does LLVM deal with inline assembly?
I'm trying to compile kernel and I get this error probably because
LLVM is not able to handle inline assembly. I'm using LLVM-2.3
code snippet from "arch/x86_64/kernel/asm-offsets.c"
....
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 "
2008 Sep 28
3
[LLVMdev] compile linux kernel
Thanks. I actually checked the IR code generated, it seems inline
assembly is being handled correctly. The preprocessing is also being
done correctly. Here is the asm-offsets.i file snippet..
...
builtin_offsetof(struct crypto_tfm,__crt_ctx)));
asm volatile("\n->" : : );
asm volatile("\n->" "__NR_syscall_max" " %0 " "sizeof(syscalls) - 1"
2008 Sep 28
0
[LLVMdev] compile linux kernel
On Sat, Sep 27, 2008 at 8:08 PM, Ashish Bijlani
<ashish.bijlani at gmail.com> wrote:
> If I use GCC to generate asm-offsets.s file, then the build system go
> ahead but fails when it generates .so files as Andrew pointed out.
You have to generate this with gcc. .c -> .s and .s -> .o need gcc,
.c -> .o can use llvm-gcc. The combination has to be fixed up in
final linking.
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
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:
>
2008 Sep 28
0
[LLVMdev] compile linux kernel
On Sep 27, 2008, at 4:34 PM, Ashish Bijlani wrote:
> Thanks for the help. I've a couple of questions though:
>
> How does LLVM deal with inline assembly?
It's been implemented piece by piece on an as-needed basis. At this
point most of the things people actually use should work. llvm-gcc
has seen the Linux kernel, so most usages in there ought to work.
The symptoms here
2008 Sep 28
1
[LLVMdev] linker script
Hi,
I'm trying to compile linux kernel with llvm to generate llvm ir
(bitcode). It seems like llvm-ld doesn't accept any linker scripts.
How do I deal with vmlinux.lds in such a case? How did people who have
compiled linux kernel with llvm deal with this in the past?
Thanks,
Ashish
2008 Sep 29
0
[LLVMdev] llvm-ld hangs [[FIXED]]
Thanks Andrew. I downloaded the latest LLVM release version 2.3. This
was indeed a bug in LLVM that I've. I fixed it using the patch you
specified. Thanks!! There are no recursive loops anymore.
On Mon, Sep 29, 2008 at 10:07 AM, Andrew Lenharth <andrewl at lenharth.org> wrote:
> On Sun, Sep 28, 2008 at 5:06 PM, Ashish Bijlani
> <ashish.bijlani at gmail.com> wrote:
>>
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
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
2010 Feb 11
6
tapdisk2 segfaults with xen-unstable+linux-2.6-pvops
Hi,
I''m trying to run guest pv vm on my machine running xen-unstable
(xen-4.0.0-rc3.pre + linux-2.6-pvops). However, I get blktap error:
"
sudo xm create -c xmexample
Using config file "./xmexample".
Error: Failed to create device.
stdout: unrecognized child response
stderr:
Check that target "/home/ashish/xen/hd.img" exists and that blktap2
driver
2007 Nov 30
1
lustre-1.8 OSD
lustre-1.8 has OSD structures in place, what do I need to add in to make it
work with OSD T10 standard? could anybody point me to some docs mentioning
lustre internals - OSTs, OSSs, OBDs, and control flow when a read/write call
is invoked by a client. thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: