Re: long running gcc process when building world

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Tue, 15 Jan 2008 10:22:03 +0100
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
Received on Tue Jan 15 2008 - 08:22:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC