From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 15:09:35 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 10CEE16A41B for ; Tue, 15 Jan 2008 15:09:35 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id C884113C4DB for ; Tue, 15 Jan 2008 15:09:34 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id m0FF9Msi058554; Tue, 15 Jan 2008 10:09:22 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id m0FF9MSm058553; Tue, 15 Jan 2008 10:09:22 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Tue, 15 Jan 2008 10:09:22 -0500 From: David Schultz To: Jiawei Ye Message-ID: <20080115150921.GA56295@VARK.MIT.EDU> Mail-Followup-To: Jiawei Ye , freebsd-current References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 15:09:35 -0000 On Tue, Jan 15, 2008, 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. It should take a while, but not that long. I'll bet src/lib/libc/stdlib/qsort.c,v 1.14 is the culprit. Try updating it, then rebuild libc and gcc.