Displaying 4 results from an estimated 4 matches for "undermaintain".
Did you mean:
undermaintained
2009 Nov 18
3
[LLVMdev] lli -force-interpreter complains about external function
...T, I don't know of any
work having been done to make the interpreter thread-safe.
By the way, the interpreter can't support many more things, such as
qsort() or any method which expects to call a function pointer. Is there
a reason you need to use the interpreter? It's been largely
undermaintained because it's pretty much useless when you've got a
working JIT.
Nick
> For those who are getting "invalid ELF header" error when calling
> llvm-ld with -lpthread,
> please change the load module from /usr/lib/pthread.a to
> /lib/libpthread.so.0.
>
> Thanks
&...
2009 Nov 18
0
[LLVMdev] lli -force-interpreter complains about external function
...of any
> work having been done to make the interpreter thread-safe.
>
> By the way, the interpreter can't support many more things, such as qsort()
> or any method which expects to call a function pointer. Is there a reason
> you need to use the interpreter? It's been largely undermaintained because
> it's pretty much useless when you've got a working JIT.
>
> Nick
>
> For those who are getting "invalid ELF header" error when calling
>> llvm-ld with -lpthread,
>> please change the load module from /usr/lib/pthread.a to
>> /lib/libpt...
2009 Nov 18
0
[LLVMdev] lli -force-interpreter complains about external function
Hi Nick:
The first problem have been solved by calling llvm-ld:
$ llvm-ld -o hellosin.llvm hellosin.bc -lm
$ lli -force-interpreter=true -load=/usr/lib/libm.so hellosin.llvm.bc
hello sin: 0.50
The pthread problem remains after llvm-ld:
$ lli -force-interpreter=true -load=/lib/libpthread.so.0 phello.llvm.bc
0 lli 0x08796bf8
Segmentation fault
For those who are getting "invalid
2009 Nov 18
2
[LLVMdev] lli -force-interpreter complains about external function
Hi Nick:
Thanks for pointing me to libffi.
Recompile LLVM with libffi does solve the problem of printf.
But it still has other problems:
1) sinf() returns 0 in the interpreter, but returns correct value in JIT
(see hellosin.c)
2) calling pthread_create cause lli to crash in the interpreter mode, but no
problem in JIT (see phello.c).
My questions are:
i) can I call any arbitrary external function