Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] CROSS COMPILING LLVM"
2009 Jun 14
1
[LLVMdev] CROSS COMPILING LLVM
I was able to use your scripts to build� llvm and llvm-gcc successfully.
But when i try to link to llvm libraries i get the following :
.........................
..........................
/arm-2007q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld:
/arm-llvm/llvm-project/i686-pc-linux-gnu/arm-none-linux-gnueabi/llvm/lib/LLVMXCore.o:
Relocations in generic
2009 Jul 01
3
[LLVMdev] Generatin code for an ARM-LINUX machine
Hello Misha,
I used the snapshots for the latest stable version (70786), and I followed
the instructions inside of README file (very clear!!!)
However, when I ran the hello program, I get an unrecognized option message.
Bellow are the details.
============================================
jcmartin78 at jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c
as: unrecognized option '-meabi=4'
2009 Jun 10
6
[LLVMdev] CROSS COMPILING LLVM
How does one cross compile llvm ? When I attempt to cross compile I get
:
................................................
...............................................
configure: creating ./config.status
config.status: creating Makefile.common
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing lib/Makefile commands
config.status:
2009 Jun 12
2
[LLVMdev] CROSS COMPILING LLVM
On Jun 11, 2009, at 7:18 PM, Misha Brukman wrote:
> I've committed my scripts that simplify building Linux/x86 -> Linux/
> ARM crosstool. There are 2 parts to using this:
>
> * llvm/utils/crosstool/create-snapshots.sh
> creates tarballs for LLVM and LLVM-GCC from HEAD SVN or a specific
> revision of your choice
> * llvm/utils/crosstool/ARM/build-install-linux.sh
2009 Mar 18
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
Can someone with llvm-gcc/ARM expertise (Dale?) please review Sandeep's
patch? The patch works for me in building an LLVM-based cross-compiler from
x86_64/Linux to ARM/Linux.
I have been able to build without the patch to the asm file, but several
people have reported needing the asm patch on http://llvm.org/PR2545 .
On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at
2009 Mar 18
3
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Mar 18, 2009, at 11:30 AMPDT, Misha Brukman wrote:
> Can someone with llvm-gcc/ARM expertise (Dale?) please review
> Sandeep's patch? The patch works for me in building an LLVM-based
> cross-compiler from x86_64/Linux to ARM/Linux.
> I have been able to build without the patch to the asm file, but
> several people have reported needing the asm patch on
2009 Jun 29
0
[LLVMdev] CROSS COMPILING LLVM
2009/6/12 Bob Wilson <bob.wilson at apple.com>
> Thanks, this should be useful. What problem did you have with svn
> revisions after 70786?
/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/xgcc
-B/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/
-B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/bin/
2009 Mar 13
4
[LLVMdev] Consumer ARM platform suitable for LLVM development?
Attached is the patch I've been building arm-eabi with, which might
help with linux-gnueabi. I disable multilib to get around several bugs
with thumb. I build cross binutils first, then llvm, then llvm-gcc
with newlib merged in.
The following bugs need to be addressed for these non-Darwin ARM targets:
1388
2313
2545
2985
deep
On Fri, Mar 13, 2009 at 12:30 AM, Misha Brukman <brukman at
2009 Mar 17
4
[LLVMdev] Consumer ARM platform suitable for LLVM development?
What change did you need?
deep
2009/3/17 Misha Brukman <brukman at gmail.com>:
> On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at gmail.com>
> wrote:
>>
>> Attached is the patch I've been building arm-eabi with, which might
>> help with linux-gnueabi. I disable multilib to get around several bugs
>> with thumb. I build cross binutils
2011 Jan 24
0
[LLVMdev] Error in cross-compiling "Hello World"
Hi,
I use the crosstool build script to build a crosscompiler for ARM. I get the following error when compilng "helloworld" program:
llvm-gcc hello.c -o hello
as: unrecognized option `-meabi=4'
I know that the reason is not to get proper cross assembler. It tries to use the native assembler but I am unable to fix the problem. I use
llvm-gcc -### hello.c -o hello and see
2011 Jan 24
0
[LLVMdev] Error in compiling "Hello World" in a LLVM-GCC cross crosscompiler
Hi,
I use the crosstool build script to build a crosscompiler for ARM. I get the following error when compilng "helloworld" program:
llvm-gcc hello.c -o hello
as: unrecognized option `-meabi=4'
I know that the reason is not to get proper cross assembler. It tries to use the native assembler but I am unable to fix the problem. I use
llvm-gcc -### hello.c -o hello and see
2005 Jan 07
2
[LLVMdev] Primer with LLVM
Really JIT isn't my goal. I prefer use a native execution engine; and ok, I
don't need save the generated Module so it ever lives in memory, so if LLVM
doesn't generate relocatable code it's fine for me.
About the reentrant lacks of LLVM, I can convert my own code - which build
the Module - into a critical section so I think it is enough; but I need to
know if several independent
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
2009/6/30 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com>
> Thanks John,
>
> I just realized that I am not working on the same "branch" of LLVM. Looking
> the latest or the newest version I saw the folder with the script, but I did
> not see a README file.
>
> I ran the script, and I get:
>
> **********
> chown: cannot access
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks John,
I just realized that I am not working on the same "branch" of LLVM. Looking
the latest or the newest version I saw the folder with the script, but I did
not see a README file.
I ran the script, and I get:
**********
chown: cannot access `/usr/local/codesourcery': No such file or directory
**********
Therefore my question is if the script depends on others folders (or
2004 Dec 31
0
[LLVMdev] Primer with LLVM
On Fri, Dec 31, 2004 at 02:30:00PM +0100, Francisco Puentes wrote:
> Now I have other problem: I have a Module and I need generate a
> iostream (memory) with native x86 code (maybe elf/coff) to be executed
> later (into the guest process space, without fork!!). I studied llc
> and lli, but they don't help me much. Any idea? Are there any guy
> working in some like that?
In
2009 Mar 12
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Thu, Mar 12, 2009 at 6:17 AM, Dietmar Ebner
<ebner at complang.tuwien.ac.at>wrote:
> On Mar 11, 2009, at 9:44 PM, Misha Brukman wrote:
> > The problem I've had is building an LLVM cross-compiler from Linux/
> > x86 to Linux/ARM (as has another llvm-dev poster). Someone
> > mentioned to me off-list that he managed to get it to build, but I
> > haven't
2009 Nov 13
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue
Hi all,
with reference to the reply below, I downloaded toolchain from codesourcery
(arm-2009q1-203-arm-none-linux-gnueabi) with gcc 4.3.3... when i compile
llvm+clang with this toolchain i am getting the following error
make[4]: Entering directory
`/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm-obj/tools/clang/tools/c-index-test'
llvm[4]: Linking Release executable c-index-test (without
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hello Anton,
Thanks for replying.
The message "as: unrecognized option `-mcpu=cortex-a8'"
is the same message I get when I just enter:
as -mcpu=cortex-a8
So I think I llvm-gcc is using the Linux i386 assembler to assemble
ARM code. Not good. What assembler is it supposed to use? The one in
CodeSourcery?
> But how's assembler actually called? Just try to compile
2009 Jun 11
0
[LLVMdev] CROSS COMPILING LLVM
I missed out some lines of the error message. They are:
checking whether the C compiler works... configure: error: cannot
run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: Entering directory
`/home/VIREMENT/src_virement/build/BuildTools'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving
2005 Jun 03
1
[LLVMdev] Randomizing Functions & Global variables
Ms Brukman,
Thanks for your reply.Just clarifying my question.I actually wanted to randomize the static layout of function code in the executable file.Sorry for writing in confusing manner.
T
Misha Brukman <brukman at cs.uiuc.edu> wrote:
On Thu, Jun 02, 2005 at 02:12:22PM -0700, Tanu Sharma wrote:
> By randomization of functions I mean the manner in whch they are
> called , so