[LLVMdev] ICE while building llvm-gcc

Jeffrey Yasskin jyasskin at google.com
Tue Dec 16 10:34:19 PST 2008


I'm on OSX 10.5, trying to build a svn checkout of llvm-gcc. I've also
checked out llvm. Both are synced to r61075.

I'm using Apple's gcc 4.0.1:

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)

My configure line was:
# ../src/configure
--prefix=/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/../install
--program-prefix=llvm-
--enable-llvm=/Users/jyasskin/src/llvm/trunk/obj/ --with-arch=nocona
--with-tune=generic --with-gxx-include-dir=/usr/include/c++/4.0.0
--build=i686-apple-darwin9 --host=i686-apple-darwin9
--target=i686-apple-darwin9 --enable-languages=c,c++


The error is:
...
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/./prev-gcc/xgcc
-B/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/./prev-gcc/
-B/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/../install/i686-apple-darwin9/bin/
-c   -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wmissing-format-attribute   -mdynamic-no-pic -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build
-I../../src/gcc/../include -I./../intl
-I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber
-I../libdecnumber -I/Users/jyasskin/src/llvm/trunk/obj//include
-I/Users/jyasskin/src/llvm/trunk/src/include -DENABLE_LLVM
-I/Users/jyasskin/src/llvm/trunk/obj/../src/include  -D_DEBUG
-I/opt/local/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS   -o build/genautomata.o
../../src/gcc/genautomata.c
Assertion failed: (UnavailablePred != 0 && "Fully available value
should be eliminated above!"), function processNonLocalLoad, file
/Users/jyasskin/src/llvm/trunk/src/lib/Transforms/Scalar/GVN.cpp, line
1108.
../../src/gcc/genautomata.c:9450: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [build/genautomata.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2


Is there any other information I should send? Is this the right place
to report build failures too? Is there a particular list of known-good
revisions that I should sync to instead of head?

Thanks!
Jeffrey



More information about the llvm-dev mailing list