[LLVMdev] LLVM-GCC build failed

Eric Christopher echristo at apple.com
Sat Jan 8 11:21:34 PST 2011


On Jan 8, 2011, at 8:04 AM, akramul azim wrote:

> Hi
>  
>    I am using LLVM and LLVM-GCC from SVN (version number: 122880). And I am using arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2 or arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2. 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):
>  
> When I use arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2: my build fails by the following error:
>  
> /usr/local/crosstool/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-gcc: cannot
>  execute binary file
>  
> make[2]: *** [crtbegin.o] Error 1
>  
> When I use arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2, I get the following error:
>  
> Assembler messages:^M
> Error: can't open /cygdrive/d/DOCUME~2/AZIM/LOCALS~1/Temp/cc19Hfjy.s for reading
> : No such file or directory^M
> make[2]: *** [crtbegin.o] Error 1
>  
> Can anyone please tell me why the error?
>  

They're pretty clear and definitely not related to llvm. One says that you can't execute the arm-gcc binary you have from codesourcery the other says that you can't open a temporary .s file for some reason.

I'd guess permissions are hosed on your machines, but I don't know.

Good luck.

-eric



More information about the llvm-dev mailing list