[LLVMdev] LLVM for ARM target

akramul azim bijoy123_8 at yahoo.com
Wed Jan 5 20:09:12 PST 2011


Thanks for your suggestions. I am trying to install cross gcc in my another PC then. Btw, I tried the automated scripts (create-snapshots.sh and build-install-linux.sh) that are in the LLVM repository for building crosstoll for ARM (http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/) but get the following error for building llvm-gcc (llvm built successfully):
 
'arm1026ej-s' is not a recognized processor for this target (ignoring processor)
'arm1026ej-s' is not a recognized processor for this target (ignoring processor)
/tmp/llvm-project.YZQXqN/src/llvm-gcc-4.2/gcc/crtstuff.c:1: internal compiler er
ror: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/tmp/llvm-project.YZQXqN/obj/llvm-gcc-4.2/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/tmp/llvm-project.YZQXqN/obj/llvm-gcc-4.2'
make: *** [all] Error 2
~

I am using the latest version of LLVM and LLVM-GCC from SVN (version number: 122872). And I am using arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2. I am using CygWin. Can anyone please tell me what is the reason of the problem? 
 
Akramul
--- On Wed, 5/1/11, Anton Korobeynikov <anton at korobeynikov.info> wrote:


From: Anton Korobeynikov <anton at korobeynikov.info>
Subject: Re: [LLVMdev] LLVM for ARM target
To: "akramul azim" <bijoy123_8 at yahoo.com>
Cc: "Bill Wendling" <wendling at apple.com>, llvmdev at cs.uiuc.edu
Date: Wednesday, 5 January, 2011, 4:30 PM


> Can you please tell me what should I do at this point? How to get the standard C library for ARM around?
The best thing is to grab some description how to build "normal" gcc
for your target and make sure all the steps described there will be
ok.
After this you can substitute normal gcc with llvm-gcc and start the
same scenario from scratch.

I believe this is the best way how the newcomer can proceed with such
a complex procedure.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110105/81d834c8/attachment.html>


More information about the llvm-dev mailing list