long running gcc process when building world
Kris Kennaway
kris at FreeBSD.org
Tue Jan 15 01:22:06 PST 2008
Jiawei Ye wrote:
> On Jan 15, 2008 9:06 AM, Kris Kennaway <kris at freebsd.org
> <mailto:kris at freebsd.org>> wrote:
>
> 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 :)
>
> Kris
>
> Ok, restarted the build job and it took 8:45 wall time to finish
> compiling the file. I brought this up because I saw another long-running
> compilation when trying to build java/jdk16 ( 1.5hr on a single file).
> It did not take this long before updating to the latest current. Sorry
> for the noise.
7.0 has a newer compiler than 6.x, so it is expected that compilation
times will differ.
Kris
More information about the freebsd-current
mailing list