[LLVMdev] LLVM GCC - 4.0 from svn build error

Prem Mallappa prem.mallappa at gmail.com
Tue Aug 21 07:24:05 PDT 2007


Hi All,
it bails out with unable to detect exception model error

I checked with my configure
$LLVM_GCC_SRC/configure --prefix=$LLVM_GCC_INST
--program-prefix=llvm-             -enable-llvm=$LLVM_BUILD
--enable-languages=c,c++ --enable-checking

I haven't enabled objc but it seems to get error whille configuring objc.
any idea how to get rid of this
==================================================
mkdir -p -- i686-pc-linux-gnu/libobjc
Configuring in i686-pc-linux-gnu/libobjc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc...
/home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc
-B/home/pmallapp/tmp/llvm-gcc-build/gcc/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/bin/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/lib/ -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/include -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/sys-include
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether  /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc
-B/home/pmallapp/tmp/llvm-gcc-build/gcc/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/bin/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/lib/ -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/include -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/sys-include accepts -g... yes
checking for  /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc
-B/home/pmallapp/tmp/llvm-gcc-build/gcc/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/bin/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/lib/ -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/include -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/sys-include option to accept ANSI C... none
needed
checking for i686-pc-linux-gnu-as... as
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc option to produce
PIC... -fPIC -DPIC
checking if /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc PIC flag -fPIC -DPIC
works... yes
checking if /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc static flag -static
works... yes
finding the maximum length of command line arguments... 49153
checking if /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc supports -c -o
file.o... yes
checking if /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc supports -fno-rtti
-fno-exceptions ... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking whether  /home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc
-B/home/pmallapp/tmp/llvm-gcc-build/gcc/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/bin/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/lib/ -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/include -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/sys-include and cc understand -c and -o
together... yes
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor...
/home/pmallapp/tmp/llvm-gcc-build/gcc/xgcc
-B/home/pmallapp/tmp/llvm-gcc-build/gcc/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/bin/
-B/tmp/llvm-gcc/i686-pc-linux-gnu/lib/ -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/include -isystem
/tmp/llvm-gcc/i686-pc-linux-gnu/sys-include -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for ANSI C header files... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for gthread cflags... -DHAVE_GTHR_DEFAULT
checking for exception model to use... configure: error: unable to detect
exception model
make: *** [configure-target-libobjc] Error 1
====================================================
/Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070821/e8aa431d/attachment.html>


More information about the llvm-dev mailing list