[LLVMdev] in Cygwin problems

Reid Spencer rspencer at reidspencer.com
Sat Dec 23 14:56:28 PST 2006


Hi Roman,

On Sun, 2006-12-24 at 01:28 +0300, Roman wrote:
> Problem 2:
> 
> Configure:
> ../src/configure --prefix=/tmp/llvm/install --disable-threads --disable-nls --disable-shared --enable-languages=c,c++ --disable-c-mbchar --program-prefix=llvm-
> 
> $ make
> make[1]: Entering directory `/tmp/llvm3/llvm/build/libiberty'
> make[2]: Entering directory `/tmp/llvm3/llvm/build/libiberty/testsuite'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/tmp/llvm3/llvm/build/libiberty/testsuite'
> make[1]: Leaving directory `/tmp/llvm3/llvm/build/libiberty'
> make[1]: Entering directory `/tmp/llvm3/llvm/build/intl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/llvm3/llvm/build/intl'
> make[1]: Entering directory `/tmp/llvm3/llvm/build/gcc'
> make \
>           CFLAGS="-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-l
> ng -fno-common " \
>           CONFIG_H="tconfig.h ../../src/gcc/../include/ansidecl.h ../../src/gcc/config/i386/xm-cygwin.h" TM_H
> "tm.h      ../../src/gcc/config/i386/i386.h ../../src/gcc/config/i386/unix.h ../../src/gcc/config/i386/bsd.h
> ./../src/gcc/config/i386/gas.h ../../src/gcc/config/dbxcoff.h ../../src/gcc/config/i386/cygming.h ../../src/g
> c/config/i386/cygwin.h ../../src/gcc/defaults.h insn-constants.h insn-flags.h" \
>           MAKEOVERRIDES= \
>           -f libgcc.mk all
> make[2]: Entering directory `/tmp/llvm3/llvm/build/gcc'
> for d in libgcc; do \
>           if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs $d; fi; \
>         done
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> /tmp/llvm3/llvm/build/gcc/xgcc -B/tmp/llvm3/llvm/build/gcc/ -B/tmp/llvm/install/i686-pc-cygwin/bin/ -B/tmp/ll
> m/install/i686-pc-cygwin/lib/ -isystem /tmp/llvm/install/i686-pc-cygwin/include -isystem /tmp/llvm/install/i6
> 6-pc-cygwin/sys-include -O2 -I../../src/gcc/../winsup/w32api/include -I../../src/gcc/../winsup/include -I../.
> /src/gcc/../winsup/cygwin/include -DIN_GCC  -DDEFAULT_TARGET_MACHINE=\"i686-pc-cygwin\"   -W -Wall -Wwrite-st
> ings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include   -DL_muldi3 -c ../../src/gcc/libgcc2.c
> o libgcc/./_muldi3.o
> gccas: /cygdrive/c/DOCUME~1/Roman/LOCALS~1/Temp/cc1pV5H1.s:29,0: parse error
> /cygdrive/c/DOCUME~1/Roman/LOCALS~1/Temp/cc1pV5H1.s:29:  while reading token: 'target'

Your gccas program (wherever its picking it up from) found an unexpected
"target" keyword. Probably your gccas version doesn't match your
llvm-gcc3 version. If you're trying to use llvm-gcc3 with the CVS HEAD
version of llvm, you're out of luck. It won't work. You'll have to use
llvm-gcc4.

> make[2]: *** [libgcc/./_muldi3.o] Error 1
> make[2]: Leaving directory `/tmp/llvm3/llvm/build/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/tmp/llvm3/llvm/build/gcc'
> make: *** [all-gcc] Error 2
> 
> 




More information about the llvm-dev mailing list