Yuri
2010-May-07 00:21 UTC
[LLVMdev] Failure building 2.7 with debug info and expensive checks
I am trying to build 2.7 on FreeBSD with all debugging options "on": CXX=/usr/local/gcc/4.5.0/bin/g++ CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ../llvm/configure --prefix=/usr/local/llvm/2.7 --enable-assertions --enable-shared --enable-libffi --enable-debug-runtime --enable-expensive-checks --enable-debug-symbols Here is the error message I got from the build: <...skipped...> gmake[1]: Entering directory `/tmp/llvm-build/2.7/llvm-objects/lib/VMCore' llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td Stack dump: 0. Program arguments: /tmp/llvm-build/2.7/llvm-objects/Release+Debug+Checks/bin/tblgen -I /tmp/llvm-build/2.7/llvm/lib/VMCore -I /tmp/llvm-build/2.7/llvm/include -I /tmp/llvm-build/2.7/llvm/include -I /tmp/llvm-build/2.7/llvm/lib/Target /tmp/llvm-build/2.7/llvm/include/llvm/Intrinsics.td -o /tmp/llvm-build/2.7/llvm-objects/lib/VMCore/Release+Debug+Checks/Intrinsics.gen.tmp -gen-intrinsic gmake[1]: *** [/tmp/llvm-build/2.7/llvm-objects/lib/VMCore/Release+Debug+Checks/Intrinsics.gen.tmp] Segmentation fault: 11 gmake[1]: Leaving directory `/tmp/llvm-build/2.7/llvm-objects/lib/VMCore' gmake: *** [all] Error 1 Yuri
Duncan Sands
2010-May-07 08:59 UTC
[LLVMdev] Failure building 2.7 with debug info and expensive checks
Hi Yuri,> I am trying to build 2.7 on FreeBSD with all debugging options "on": > CXX=/usr/local/gcc/4.5.0/bin/g++ CPPFLAGS=-I/usr/local/include > LDFLAGS=-L/usr/local/lib ../llvm/configure --prefix=/usr/local/llvm/2.7 > --enable-assertions --enable-shared --enable-libffi > --enable-debug-runtime --enable-expensive-checks --enable-debug-symbolsI can't reproduce this on x86-64 linux with g++-4.5 and --disable-optimized --enable-assertions --enable-expensive-checks --disable-threads --enable-libffi Ciao, Duncan.
Reasonably Related Threads
- [LLVMdev] Is the option --enable-shared discontinued in 2.7?
- [LLVMdev] SVN version fails to compile
- [LLVMdev] Is the option --enable-shared discontinued in 2.7?
- [LLVMdev] Is the option --enable-shared discontinued in 2.7?
- [LLVMdev] Is the option --enable-shared discontinued in 2.7?