Date: Tue, 15 Jan 2008 10:22:03 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: Jiawei Ye <leafy7382@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: long running gcc process when building world Message-ID: <478C7B3B.4090301@FreeBSD.org> In-Reply-To: <c21e92e20801141846n30ce6a15vf91b1cd74fca69d6@mail.gmail.com> References: <c21e92e20801141609o2fa003d0gbac5e8f23a817146@mail.gmail.com> <478C0706.1060306@FreeBSD.org> <c21e92e20801141846n30ce6a15vf91b1cd74fca69d6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jiawei Ye wrote: > On Jan 15, 2008 9:06 AM, Kris Kennaway <kris@freebsd.org > <mailto:kris@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478C7B3B.4090301>