Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 10:46:21 +0800
From:      "Jiawei Ye" <leafy7382@gmail.com>
To:        "Kris Kennaway" <kris@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: long running gcc process when building world
Message-ID:  <c21e92e20801141846n30ce6a15vf91b1cd74fca69d6@mail.gmail.com>
In-Reply-To: <478C0706.1060306@FreeBSD.org>
References:  <c21e92e20801141609o2fa003d0gbac5e8f23a817146@mail.gmail.com> <478C0706.1060306@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 15, 2008 9:06 AM, Kris Kennaway <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.

Jiawei


-- 
"If it looks like a duck, walks like a duck, and quacks like a duck, then to
the end user it's a duck, and end users have made it pretty clear they want
a duck; whether the duck drinks hot chocolate or coffee is irrelevant."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e20801141846n30ce6a15vf91b1cd74fca69d6>