Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] llvm-gcc bootstrap on arm-linux-gnueabi"
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:
>
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
2011 Jul 27
3
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hello:
I recently attempted to update the ARM cross-compilation setup I had with
llvm, and it did not work, so I wanted to revert back to my initial
configuration. I reconfigured/make/make install'ed my llvm which executed
fine, and then cleared out my llvm-gcc obj and install folders, and
reconfigured gcc from within llvm-gcc/obj as follows:
../llvm-gcc-4.2-2.9.source/configure
2007 Apr 11
0
[LLVMdev] ideas for TLS implementation
Hi Lauro,
On Wed, 2007-04-11 at 15:15 -0300, Lauro Ramos Venancio wrote:
> For everyone understand which code must be emitted to implement TLS, I
> will paste the code generated by gcc for a simple function:
... snip ...
This proposal sounds really good to me. I only have a couple comments.
We have a "section" keyword already developed in LLVM assembly. Perhaps
instead of
2007 Jan 05
0
[LLVMdev] constant pool in large functions
Hi Lauro,
This is a very tricky problem to resolve. Basically you need a pass
just before code emission to find the proper locations for each
constant pool. That means you need:
1. Exact size of each instruction. This can be added with a custom
instrinfo that specify instruction length for each target instruction.
2. Probably some kind of constantpool pseudo instruction.
The pass can then
2006 Dec 20
1
[LLVMdev] [patch] arm: external weak in constant pool
without tabs
Lauro
2006/12/20, Bill Wendling <isanbard at gmail.com>:
>
> Hi Lauro,
>
> Just a stylistic remark; In your "llvm.patch" file, there are tabs in
> these lines:
>
> + if (GV->hasExternalWeakLinkage()) {
> + ExtWeakSymbols.insert(GV);
> + }
>
> Others will need to review the patch for correctness, though.
>
2007 Apr 10
2
[LLVMdev] LLVM and TLS
Hi all,
I'm trying to make a toolchain for arm-linux-gnueabi using the
llvm-gcc. To do this, I made some changes in crosstool 0.42.
Everything goes fine until llvm-gcc tries to compile the glibc.
llvm-gcc can't compile glibc because it doesn't support TLS (Thread
Local Storage).
I know there is a bug report about TLS (PR941). Is there someone
implementing TLS in LLVM and llvm-gcc?
2006 Dec 20
0
[LLVMdev] [patch] arm: external weak in constant pool
Hi Lauro,
Just a stylistic remark; In your "llvm.patch" file, there are tabs in
these lines:
+ if (GV->hasExternalWeakLinkage()) {
+ ExtWeakSymbols.insert(GV);
+ }
Others will need to review the patch for correctness, though.
-bw
On 12/20/06, Lauro Ramos Venancio <lauro.venancio at gmail.com> wrote:
> Adds external weak symbols of constant pool to ExtWeakSymbols set.
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 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
2007 Jan 05
2
[LLVMdev] constant pool in large functions
I'm facing a problem with constant pool in large functions.
The LLVM prints constant pool at the beginning of functions.
In large functions loads can be far from constant pool. GCC resolves this
situations by spreading constants throughtout functions. A C test and the
code generated by LLVM and GCC are attached.
As you can see in the following error the ldr is too far from constant:
$
2007 Apr 11
2
[LLVMdev] ideas for TLS implementation
For everyone understand which code must be emitted to implement TLS, I
will paste the code generated by gcc for a simple function:
__thread int a = 1;
int f(){
return a;
}
gcc teste.c -o teste.s -S -O2 (arm-linux-gnueabi):
.global a
.section .tdata,"awT",%progbits <== special section for
tls symbols
.align 2
.type a, %object
2006 Dec 20
2
[LLVMdev] [patch] arm: external weak in constant pool
Adds external weak symbols of constant pool to ExtWeakSymbols set.
Lauro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061220/1aaa0c7b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
2007 Feb 09
0
[LLVMdev] problem with function arguments in ARM EABI
I am ok with adding an attribute but don't like to add two of them as
you've described. I don't think you need the "sequential piece ID" to
deal with this issue, no? You just need a little extra bookkeeping in
the target lowering code.
Alternatively, you can use a "original alignment" attribute (i.e.
alignment of unexpanded argument). That would be a 5-bit
2011 Jul 28
0
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hi, Griffin
> /net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as:
^^^^^^^^^^^
Maybe using a newer codesourcery toolchain can help you?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
2011 Jul 28
1
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
I tried using 2011-03 for gnu/linux, but I got the exact same problem.
-Griffin
On Jul 27, 2011 9:29 PM, "陳韋任" <chenwj at iis.sinica.edu.tw> wrote:
>
> Hi, Griffin
>
> >
/net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as:
> ^^^^^^^^^^^
>
> Maybe using a newer codesourcery toolchain can
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
2011 Jul 07
0
[LLVMdev] llvm-gcc cross compiling for ARM
Here is how I do it on x86-64 machine running Ubuntu-11.04:
1. install flex and bison
2. download arm-2011.03 from www.codesourcery.com and add to path (setenv
PATH ${PATH}:/home/dskhudia/projects/arm-2011.03/bin)
3. mkdir llvm-gcc-obj; cd llvm-gcc-obj
4. ../llvm-gcc-4.2-2.9.source/configure --target=arm-none-linux-gnueabi
--program-prefix=llvm-
2007 Feb 09
2
[LLVMdev] problem with function arguments in ARM EABI
>
> Yes, you need to override both LowerArguments and LowerCallTo. All of
> the current targets / abi's use the default implementation in
> SelectionDAGISel.cpp But I guess ARM EABI will be the first. :-) As
> far as I can see, this is the only clean way to do it. I expect the
> ARM EABI specific implementation will be quite a bit simpler than the
> default implementation
2007 Feb 27
2
[LLVMdev] another problem with function arguments aligment
I think, we must move function arguments lowering from frontend to
LLVM core. This lowering is generating machine dependent bytecode. See
http://llvm.org/bugs/show_bug.cgi?id=1230
Lauro
2007/2/26, Chris Lattner <sabre at nondot.org>:
> On Mon, 26 Feb 2007, Lauro Ramos Venancio wrote:
> > The problem is: llvm-gcc generates the same bytecode for both functions:
> >
> >