[LLVMdev] does llvm-gcc (4.2) build?

Gabor Greif gabor at mac.com
Mon Apr 21 09:45:25 PDT 2008


Hi all,

can anybody confirm that llvm-gcc is broken?

After following all the instructions, make gets stuck while:

ggreif$ gmake
gmake \
          CFLAGS="-g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common " \
          CONFIG_H="config.h  auto-host.h /Users/ggreif/llvm-gcc/gcc/../include/ansidecl.h" \
          MAKEOVERRIDES= \
          -f libgcc.mk all
^Cgmake: *** [stmp-multilib] Interrupt



When running this manually I get some output that might ring a bell:

ggreif$ gmake \
>           CFLAGS="-g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common " \
>           CONFIG_H="config.h  auto-host.h /Users/ggreif/llvm-gcc/gcc/../include/ansidecl.h" \
>           MAKEOVERRIDES= \
>           -f libgcc.mk all
gmake GCC_FOR_TARGET="" \
          AR_FOR_TARGET="" \
          AR_CREATE_FOR_TARGET="" \
          AR_EXTRACT_FOR_TARGET="" \
          AR_FLAGS_FOR_TARGET="" \
          CC="cc" CFLAGS="-g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common " \
          BUILD_PREFIX="" \
          BUILD_PREFIX_1="" \
          LANGUAGES="" \
          LIBGCC2_CFLAGS=" "  \
          LIBGCC2_STATIC_CFLAGS=""  \
          MULTILIB_CFLAGS="" T= crt3.o
gmake[1]: Entering directory `/Users/ggreif/obj/gcc'
# APPLE LOCAL use -mlongcall for large text support
DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/Users/ggreif/llvm-gcc/gcc -I/Users/ggreif/llvm-gcc/gcc/.
-I/Users/ggreif/llvm-gcc/gcc/../include -I./../intl -I/Users/ggreif/llvm-gcc/gcc/../libcpp/include  -I/Users/ggreif/llvm-gcc/gcc/../libdecnumber -I../libdecnumber -I/Users/ggreif/llvm/include
-I/Users/ggreif/llvm/include  -mlongcall \
          -fno-tree-dominator-opts  \
         \
          -c /Users/ggreif/llvm-gcc/gcc/config/darwin-crt3.c -o crt3.o
gmake[1]: DIN_GCC: Kommando nicht gefunden




That "# APPLE LOCAL use -mlongcall for large text support" seems to break things.

Both make 3.80 and 3.81 break the same way.

Can anybody help? This has never happened to me berfore, I was always able
to build llvm-gcc :-(

Thanks in advance.

	Gabor

PS: this is in a freshly checked-out tree



More information about the llvm-dev mailing list