From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 09:22:06 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 558DF16A419 for ; Tue, 15 Jan 2008 09:22:06 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C7C0F13C474; Tue, 15 Jan 2008 09:22:04 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <478C7B3B.4090301@FreeBSD.org> Date: Tue, 15 Jan 2008 10:22:03 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Jiawei Ye References: <478C0706.1060306@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current Subject: Re: long running gcc process when building world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 09:22:06 -0000 Jiawei Ye wrote: > On Jan 15, 2008 9:06 AM, Kris Kennaway > 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