[LLVMdev] Cygwin release build error

Aaron Gray angray at beeb.net
Wed Feb 28 11:52:12 PST 2007


I did not realize that '--enable-llvm' was required and that invalidates my debug build results which were built just with LLVM on the path.

I am now getting a segmentation fault when doing a 'make install' on LLVM-GCC4, possibly validating my original thoughts that GCC 4.1.1 was required to build LLVM-GCC 4.0.1. I will try using GCC 4.1.1.

Heres the error anyway :-

make[2]: Entering directory `/usr/build/llvm-gcc4/gcc'
/usr/build/llvm-gcc4/gcc/xgcc -B/usr/build/llvm-gcc4/gcc/ -B/usr/llvm-gcc4/i686-
pc-cygwin/bin/ -B/usr/llvm-gcc4/i686-pc-cygwin/lib/ -isystem /usr/llvm-gcc4/i686 
-pc-cygwin/include -isystem /usr/llvm-gcc4/i686-pc-cygwin/sys-include -O2 -I/usr
/src/llvm-gcc4/gcc/../winsup/w32api/include -DIN_GCC    -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./inc 
lude   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/usr/src/llvm-gcc4/g
cc -I/usr/src/llvm-gcc4/gcc/. -I/usr/src/llvm-gcc4/gcc/../include -I/usr/src/llv
m-gcc4/gcc/../libcpp/include  -I/usr/src/llvm/include -I/usr/build/llvm/include 
-DL_eprintf  -c /usr/src/llvm-gcc4/gcc/libgcc2.c -o libgcc/./_eprintf.o
/usr/src/llvm-gcc4/gcc/libgcc2.c: In function '__eprintf':
/usr/src/llvm-gcc4/gcc/libgcc2.c:1832: internal compiler error: Segmentation fault 
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
make[2]: *** [libgcc/./_eprintf.o] Error 1
make[2]: Leaving directory `/usr/build/llvm-gcc4/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/build/llvm-gcc4/gcc'
make: *** [install-gcc] Error 2


----- Original Message ----- 
From: "Reid Spencer" <rspencer at reidspencer.com>
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Sent: Wednesday, February 28, 2007 4:15 PM
Subject: Re: [LLVMdev] Cygwin release build error


> Aaron,
> 
> On Wed, 2007-02-28 at 15:40 +0000, Aaron Gray wrote:
>> I am getting an "--emit-llvm is not supported in this configuration"
>> error on a release build on Cygwin, the debug build is fine.
>>  
>>     make[3]: Entering directory
>> `/usr/build/llvm/runtime/GCCLibraries/libc'
>>     llvm[3]: Compiling atox.c for Release build (bytecode)
>>     llvm-gcc: --emit-llvm is not supported in this configuration.
>>     make[3]: ***
>> [/usr/build/llvm/runtime/GCCLibraries/libc/Release/atox.ll] Error 1 
>>  
>> This is the same error that appears alot of times on the 'make check'
>> of the debug build.
>>  
>> What is going on here please ?
> 
> Sounds to me like the llvm-gcc being used wasn't configured using
> --with-llvm=. That message occurs when llvm-gcc is built
> "normally" (without using llvm). 
> 
>> Aaron
>>  
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 27/02/2007 15:24
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070228/e5d8c9fe/attachment.html>


More information about the llvm-dev mailing list