[LLVMdev] llvm-gcc-4.0 compilation erros
Ryan M. Lefever
lefever at crhc.uiuc.edu
Wed Aug 22 13:00:16 PDT 2007
I checked llvm-gcc 4.0 out from svn yesterday and am compiling it on 3
different machines. I was able to compile it on 2 of the machines, but
the compilation failed on the third machine with the errors below. The
machine that the compilation failed on is running Fedora Core 4. The
processor is a AMD Athlon(tm) 64 Processor 3700+. The version of gcc I
have on the machine is 4.0.2. I tried configuring with both the
--disable-shared and --disable-multilib options. I also tried doing a
make OPTIMIZE_OPTION=-O2 as was suggested in the README.LLVM file. Does
anyone have any ideas on what the problem is? Any help would be greatly
appreciated.
Thanks,
Ryan
----------- compilation errors ------------------
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/xgcc
-shared-libgcc
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/gcc/ -nostdinc++
-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/bin/
-B/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/lib/
-isystem
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/include
-isystem
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/../install/x86_64-unknown-linux-gnu/sys-include
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0/libstdc++-v3/libsupc++
-g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -c
../../../../llvm-gcc-4.0/libstdc++-v3/src/bitmap_allocator.cc -o
bitmap_allocator.o
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function '__gnu_cxx::_Mutex*
__gnu_cxx::free_list::_M_get_mutex()':
/home/crhc3/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:722:
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[3]: *** [bitmap_allocator.lo] Error 1
make[3]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/performA/users/lefever/llvm/cvs-070820/llvm-gcc-4.0_obj/x86_64-unknown-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
More information about the llvm-dev
mailing list