[LLVMdev] does llvm-gcc (4.2) build?
Tanya M. Lattner
tonic at nondot.org
Mon Apr 21 13:59:03 PDT 2008
On Mon, 21 Apr 2008, Gabor Greif wrote:
> Hi all,
>
> can anybody confirm that llvm-gcc is broken?
It builds for me on x86, darwin8 (svn rev: 50048). What are you using to
configure it?
Whenever I have had problems building llvm-gcc, I usually have to delete
my install and obj dir, make clean llvm, and start over from the top.
Its a pain, but it works usually.
-Tanya
>
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list