From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 02:46:23 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 8155116A420 for ; Tue, 15 Jan 2008 02:46:23 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 2852913C469 for ; Tue, 15 Jan 2008 02:46:22 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3413929pyb.10 for ; Mon, 14 Jan 2008 18:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=RCfiL2r0QhZejT/oCTNzSicXtyQnoKJ2AMD4frmnuHg=; b=oReghOX9EroAwggSmtI6FkHRxo+SqrrE+Xt6av9gF7NDRkx29ITgpduGWXYGJdxv5SThqEilTSrin+TwqC/4EwNNznFDBRk7/W1GUQSndqLWWZQm0WoXlGrN2XaHjRBrKlSRs3t8P+ks8C6en9OUTrTBEnlHSOJ/GXBqRlkxXHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=PGkYujmzAfGfR1YssesY2Xl5/dLF3Z0LEI776kkRD/XsNnWJ5i2qZa+PxR8ieduXmt4KbwB1UGI64xLjToQXxzahxFZYNMBwhg9l9KGLUstI7QvgcblY4jn+Hn0VdVsmqyuFUj0lEt6hb7h+DCDDWu32bRrK2+6dDR1JWcrdSlk= Received: by 10.65.121.9 with SMTP id y9mr16114819qbm.26.1200365181593; Mon, 14 Jan 2008 18:46:21 -0800 (PST) Received: by 10.65.126.12 with HTTP; Mon, 14 Jan 2008 18:46:21 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 10:46:21 +0800 From: "Jiawei Ye" To: "Kris Kennaway" In-Reply-To: <478C0706.1060306@FreeBSD.org> MIME-Version: 1.0 References: <478C0706.1060306@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 02:46:23 -0000 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. 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."