[LLVMdev] Bootstrapping llvm-gcc4 on Mingw

Anton Korobeynikov asl at math.spbu.ru
Tue May 2 13:45:55 PDT 2006


Hello, Everyone.

I'm currently trying to bootstrap llvm-gcc4 on mingw32 platform.
Everything (except some small fixes) seems to be fine: stage1 finished
successfully. I'm linking with debug variant of LLVM, since linker bug
prevents release builds.

Unfortunately, stage2 failes immediately with this cryptic message:

$/f/tmp/llvm/gccbuild/gcc/xgcc -B/f/tmp/llvm/gccbuild/gcc/ -Bf:/tmp/llvm/install/mingw32/bin/
-Bf:/tmp/llvm/install/mingw32/lib/ -isystem f:/tmp/llvm/install/mingw32/include -isystem
f:/tmp/llvm/install/mingw32/sys-include -O -I../../gccsrc/gcc/../winsup/w32api/include -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I../../gccsrc/gcc -I../../gccsrc/gcc/. -I../../gccsrc/gcc/../include -I../../gccsrc/gcc/../libcpp/include
-I/f/tmp/llvm/build  -If:/tmp/llvm/build/../src/include  -DL_muldi3 -c ../../gccsrc/gcc/libgcc2.c -o
libgcc/./_muldi3.o
In file included from ../../gccsrc/gcc/tsystem.h:90,
                 from ../../gccsrc/gcc/libgcc2.c:41:
f:/tmp/llvm/install/lib/../include/stdio.h: In function 'vsnprintf':
f:/tmp/llvm/install/lib/../include/stdio.h:219: internal compiler error: in assemble_external_real, at varasm.c:1925
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

Does anybody have idea, why does this error might occur? I can supply
any needed information (such as -save-temps output, etc).

-- 
With best regards,
 Anton                          mailto:asl at math.spbu.ru

Wednesday, May 3, 2006 12:41:24 AM

Faculty of Mathematics & Mechanics, Saint-Petersburg State University





More information about the llvm-dev mailing list