long running gcc process when building world

Kris Kennaway kris at FreeBSD.org
Mon Jan 14 17:06:16 PST 2008

Jiawei Ye wrote:
> Having updated to -current as of Jan 14, gcc now drops in to never-ending
> compilation when building world:
> cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr/obj/usr/src/tmp/usr\"
> -I/tmp/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
>  -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
> This has been running for more than 5 minutes as of now. The same symptom
> occurs when building java/jdk16.

5 minutes != infinity.  This seems reasonable to me, it's a 3.5MB 
machine-generated C file.  Turn down the optimization level if you can't 
bear to wait that long for it :)


More information about the freebsd-current mailing list