[LLVMdev] LLVM-GCC build failed

akramul azim bijoy123_8 at yahoo.com
Sun Jan 9 15:08:11 PST 2011


Now I get the following error:
 
checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/MinGW/llvm-project/obj/llvm-gcc-4.2'
make: *** [all] Error 2

Can anyone please tell me how to resolve the problem?
 
Akramul
--- On Sat, 8/1/11, Eric Christopher <echristo at apple.com> wrote:


From: Eric Christopher <echristo at apple.com>
Subject: Re: [LLVMdev] LLVM-GCC build failed
To: "akramul azim" <bijoy123_8 at yahoo.com>
Cc: llvmdev at cs.uiuc.edu
Date: Saturday, 8 January, 2011, 7:21 PM



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110109/778c4c91/attachment.html>


More information about the llvm-dev mailing list