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

heisenbug ggreif at gmail.com
Tue Apr 22 02:13:49 PDT 2008


Problem solved.

Looks like the build process found some ancient debug libs
where the Use struct has size 16, still.

Thanks for the 'pstree' tip, baldrick!

Cheers,

   Gabor


On Apr 21, 6:45 pm, Gabor Greif <ga... at mac.com> wrote:
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVM... at cs.uiuc.edu        http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list