From owner-freebsd-stable@FreeBSD.ORG Sat Feb 2 12:02:43 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 4737C16A418 for ; Sat, 2 Feb 2008 12:02:43 +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 A9F3D13C458 for ; Sat, 2 Feb 2008 12:02:42 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 02 Feb 2008 12:02:41 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO homeKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp030) with SMTP; 02 Feb 2008 13:02:41 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1+Ptv9f9FmPXkI6ax9PFaUGMIfSbhSW2dy+1I14Ty QiwMXCdw2XcUm1 Message-ID: <47A45BDF.5010904@gmx.de> Date: Sat, 02 Feb 2008 13:02:39 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <47A441FA.4050408@gmx.de> In-Reply-To: <47A441FA.4050408@gmx.de> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: 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 12:02:43 -0000 Dominic Fandrey wrote: > 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. I have found the problem, it's specific to sysutils/bsdadminscripts. So nobody needs to spend time on it, apart from me, that is.