Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] LLVM build freezes in scratchbox, ARM target"
2008 Jan 21
0
[LLVMdev] LLVM build freezes in scratchbox, ARM target
On 21/01/2008, Arvind Ayyangar <arvind.ayyangar at gmail.com> wrote:
> Hi,
> I am new to LLVM and have been trying to get it working on
> scratchbox (ARM target). When I try to build llvm-2.1, the build
> freezes with the following output..
>
I have build llvm inside scratchbox sometime ago. More recently Lauro
pointed out that one should use a patched qemu. Not sure
2008 Jan 21
2
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi Arvind,
To use llvm inside scratchbox you must use a newer qemu. See
http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/
(in Portuguese, but the important things are in bash :) )
I don't know if it is the problem in this case, but it should be the
first attempt.
Lauro
2008/1/21, Rafael Espindola <espindola at google.com>:
> On 21/01/2008, Arvind Ayyangar
2008 Jan 28
2
[LLVMdev] llc fails to generate code for arm
Hi all,
I had little success installing llvm inside scratchbox for an ARM
build so have been trying to generate assembly code for arm using the
llc utility. However, llc fails to generate code for arm. Output is as
below...
arvind at zeus:~/tools/llvm/del$ llc main.bc -o mainarm -filetype=asm
-march=arm -f
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand
LowerCALL(llvm::SDOperand,
2008 Jan 28
0
[LLVMdev] llc fails to generate code for arm
HI Arvind,
I think you are using an old llc version. VarArg support was
implemented a long time ago.
Lauro
2008/1/28, Arvind Ayyangar <arvind.ayyangar at gmail.com>:
> Hi all,
> I had little success installing llvm inside scratchbox for an ARM
> build so have been trying to generate assembly code for arm using the
> llc utility. However, llc fails to generate code for
2008 Feb 04
1
[LLVMdev] llc fails to generate code for arm
Hi
Sorry for the late reply..
I managed to build the latest release of llvm.
Now I get the following error when I try creating the bitcode file:
llvm-gcc: --emit-llvm is not supported in this configuration.
The configure options were :
/home/arvind/llvm/llvm-gcc4.2-2.1.source/configure
--prefix=/opt/llvm/ --enable-threads --disable-nls --disable-shared
--enable-languages=c
2007 Nov 02
0
[LLVMdev] llvm-gcc bootsrtap on ARM
Rafael,
Remember that the qemu <= 0.9.0 can misexecute code compiled by LLVM.
I think you should test using qemu CVS.
Lauro
2007/11/2, Rafael Espindola <espindola at google.com>:
> Hello,
>
> I am trying to bootstrap on ARM linux EABI using a qemu chroot to
> better test my changes on at least one more architecture.
>
> I am using the following configure line:
>
2008 Jan 21
0
[LLVMdev] LLVM build freezes in scratchbox, ARM target
On Jan 21, 2008 7:47 PM, Lauro Ramos Venancio <lauro.venancio at gmail.com> wrote:
> Hi Arvind,
>
> To use llvm inside scratchbox you must use a newer qemu. See
> http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/
> (in Portuguese, but the important things are in bash :) )
I have an installation of qemu on my system, but i don't think that
compilation
2009 Oct 08
2
Installing libhildonfm2-dev for scratchbox
What seems to be an easy thing to do as to install a library into
scratchbox is being something difficult to debug.
The command "/scratchbox/moz_scratchbox -p apt-get --yes --force-yes
install libhildonfm2-dev" can be run in a linux vm with the account
"cltbld" without any problems but when I try to test it from this same
slave (I remove first the package) or any other slave
2007 Nov 02
4
[LLVMdev] llvm-gcc bootsrtap on ARM
Hello,
I am trying to bootstrap on ARM linux EABI using a qemu chroot to
better test my changes on at least one more architecture.
I am using the following configure line:
../gcc/configure --prefix=/home/espindola/install/
--program-prefix=llvm- --enable-languages=c --disable-shared
--disable-multilib --enable-llvm=/home/espindola/build
--enable-checking arm-linux-gnueabi
The bootstrap fails
2007 Oct 27
2
[LLVMdev] link errors on ARM with GCC 3.4.4
hi,
I've been trying to avoid spamming the list but I don't know where
else to bang my head
using the latest trunk and 2.1, I always get this:
llvm[2]: Linking Release executable tblgen (without symbols)
/targets/SDK_BETA_ARMEL/mnt/shared/repos/svn/llvm/llvm-project/llvm/trunk/utils/TableGen/Release/InstrInfoEmitter.o:(.rodata._ZTVN4llvm4UserE[vtable
for llvm::User]+0x10): undefined
2008 Feb 20
0
[LLVMdev] Problems building LLVM 2.2 for ARM
Try make VERBOSE=1 first. Perhaps it'll tell us something.
Evan
On Feb 19, 2008, at 4:19 PM, Tobias Oberstein wrote:
> Hello,
>
> I'd like to do some initial experiments with LLVM on embedded ARM
> (Nokia N800), but ran into a build issue. Could s.o. give me a tip?
>
> Thx alot,
> Tobias
>
> P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
2008 Feb 20
2
[LLVMdev] Problems building LLVM 2.2 for ARM
Hello,
I'd like to do some initial experiments with LLVM on embedded ARM
(Nokia N800), but ran into a build issue. Could s.o. give me a tip?
Thx alot,
Tobias
P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
===
I'm building on Ubuntu/Scratchbox/ARMEL using GCC 3.4.4 (CodeSourcery
ARM 2005q3-2) using
./configure --prefix=$HOME/local/llvm-2.2 --enable-jit
2009 Dec 14
0
[LLVMdev] clang and static functions
Ah ok. Sorry. :)
I think that argument "-femit-all-decls" will help you.
Olivier.
On Mon, Dec 14, 2009 at 9:18 PM, Arvind Sudarsanam <
arvind.sudarsanam at aggiemail.usu.edu> wrote:
> Hi,
>
> Sorry for not being specific. I just wanted to know if there is any
> way at all to force clang to generate intermediate code for static
> functions when they are not being
2009 Dec 14
3
[LLVMdev] clang and static functions
Hi,
Sorry for not being specific. I just wanted to know if there is any
way at all to force clang to generate intermediate code for static
functions when they are not being called anywhere inside the current
module. Other compilers seem to generate intermediate code (lcc, for
instance).
Thanks for your reply..Olivier.
Sincerely
Arvind
On Mon, Dec 14, 2009 at 1:10 PM, Olivier Meurant
2009 Dec 14
0
[LLVMdev] clang and static functions
Hi Arvind,
you need to use it effectively :
static int add(int a, int b) {
return a+b;
}
int use() {
return add(4,5);
}
==>
; ModuleID = '<stdin>'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
define i32 @use()
2009 Dec 14
2
[LLVMdev] clang and static functions
Hi,
I am trying to compile a single module (dgemm.c) using clang and
generate dgemm.ll.
Command: clang -emit-llvm dgemm.c -S -o dgemm.ll
Some of the functions are declared as static and clang ignores these functions:
One of the functions is:
static void innerloop(double a, const double* b, double* c, double beta)
{
*b = a*beta;
return;
}
Is there any way to make clang generate llvm code
2010 Jul 15
2
[LLVMdev] Trying to access the user defined variable name
Hi Devang,
Thanks for your reply. You mentioned
" First parameter is the compiler generated temp. and 3rd parameter
provides info about the variable, including its name 'u'."
I did manage to get this far. But, I am finding it difficult to access
this info using LLVM APIs. The third parameter is of type "metadata".
So I was able to access it by casting it to MDNode.
2009 Dec 04
2
[LLVMdev] regarding getelementptr
Hi,
I have been working towards generating my own IR code from llvm IR. I
have hit a stumbling block with respect to "getelementptr" used inside
another llvm instruction.
Example: %arrayidx = getelementptr inbounds i32* getelementptr
inbounds ([10 x i32]* @k, i32 0, i32 0), i32 %tmp2 ; <i32*> [#uses=1]
I am unable to get a handle on the second "getelementptr" in this
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
On Thu, Jul 15, 2010 at 1:19 PM, Arvind Sudarsanam
<arvind.sudarsanam at aggiemail.usu.edu> wrote:
> Hi Devang,
>
> Thanks for your reply. You mentioned
> " First parameter is the compiler generated temp. and 3rd parameter
> provides info about the variable, including its name 'u'."
>
> I did manage to get this far. But, I am finding it difficult to
2010 Mar 25
4
[LLVMdev] source code information in LLVM IR
Hi,
I am generating llvm IR code for C source code using clang as the
front end. I am wondering if there is any way of mapping an llvm IR
line number back to its C source code line number.
Thanks
Sincerely
Arvind
--
Arvind Sudarsanam
Utah State University
Phone: (435) 512-7769
E-mail: theonemorpheus at gmail.com
Web-site: http://cc.usu.edu/~asudarsanam