From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 17:15:38 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB381065679 for ; Sun, 31 Oct 2010 17:15:38 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 848148FC15 for ; Sun, 31 Oct 2010 17:15:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o9VGc6ns009514 for ; Sun, 31 Oct 2010 10:38:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o9VGc6R4009511 for ; Sun, 31 Oct 2010 10:38:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 31 Oct 2010 10:38:06 -0600 (MDT) From: Warren Block To: hackers@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 31 Oct 2010 10:38:06 -0600 (MDT) Cc: Subject: ccache pausing in buildworld X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 17:15:38 -0000 About a month ago, ccache began to pause in buildworld. The build doesn't halt or quit, it stays running but not doing anything: /usr/local/libexec/ccache/world-cc -fpic -DPIC -O2 -pipe -march=prescott -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386-DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c crypt_xdr.c -o crypt_xdr.So And there it stays: load: 0.02 cmd: make 83143 [select] 401.32r 0.05u 0.05s 0% 852k load: 0.01 cmd: make 83143 [select] 409.08r 0.05u 0.05s 0% 852k load: 0.01 cmd: make 83143 [select] 422.00r 0.05u 0.05s 0% 852k The file where it pauses varies depending on the number of jobs (-j) option. The example above is with -j6; -j1 doesn't fix it, although it pauses on nslexer.c instead. This is on 8-stable as of today, i386. The -march=prescott option comes from CPUTYPE?=core2 in make.conf, and removing that setting doesn't fix the problem. buildworld without ccache works fine, just takes more than twice as long. The kernel target works fine with or without ccache. Any ideas?