From owner-freebsd-stable@FreeBSD.ORG Sat Feb 2 10:12:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B69A416A46B for ; Sat, 2 Feb 2008 10:12:13 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 25E0513C448 for ; Sat, 2 Feb 2008 10:12:12 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 02 Feb 2008 10:12:11 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO homeKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp035) with SMTP; 02 Feb 2008 11:12:11 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX18qCsMCViIqpsDdczWVc+aehF1sL/lQTksMacEyzv 0GDG5goPT+abk9 Message-ID: <47A441FA.4050408@gmx.de> Date: Sat, 02 Feb 2008 11:12:10 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: CC messed up in RELENG_7 build X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 10:12:13 -0000 The sources were csupped ~3 hours ago. My CC is defined as follows: env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc I have done many buildworld, buildkernel and port builds with this setting and it never caused any problems. However today buildworld fails the following way: env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/6510b/amd64/usr/src/lib32/usr/ -L/usr/obj/6510b/amd64/usr/src/lib32/usr/lib32 -B/usr/obj/6510b/amd64/usr/src/lib32/usr/lib32 -c -O2 -fno-strict-aliasing -pipe -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden -DHIDE_EXPORTS -fPIC -DL_muldi3 -o _muldi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c distcc[76450] (main) CRITICAL! distcc seems to have invoked itself recursively! distcc[76449] (main) CRITICAL! distcc seems to have invoked itself recursively! distcc[76448] ERROR: compile /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c on localhost failed with exit code 111 *** Error code 111 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 Stop in /usr/src. It looks to me like there has been some kind of recursive substitution of CC, turning env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc into env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc I have looked at the involved Makefile.in files, but I didn't find anything that looked suspicious to me.