From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:52:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 180F6327 for ; Sat, 24 Nov 2012 12:52:42 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id C3EE18FC13 for ; Sat, 24 Nov 2012 12:52:41 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 069A25C37; Sat, 24 Nov 2012 13:52:40 +0100 (CET) Message-ID: <50B0C31F.1050304@andric.com> Date: Sat, 24 Nov 2012 13:52:47 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> In-Reply-To: <1353678344136-5763503.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 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, 24 Nov 2012 12:52:42 -0000 On 2012-11-23 14:45, Beeblebrox wrote: > I am now stuck with trying to make this work. I am doing buildworld with > clang and ccache enabled. If you want to use clang in combination with ccache, you must at least set CCACHE_CPP2 to make it work. If you experience any issues with this setup, always try disabling ccache first, to see if the issues go away. In most cases, disabling ccache fixes the problems. > 1. I have to keep re-starting buildworld at different points of break. When > re-started the build continues past the last break-point and goes on to > break somewhere else. > 2. This continues until build gets to ===> usr.bin/ypwhich (all) and cannot > continue past the error. As in your first post, you are most likely doing "make -j X buildworld", and this can obscure the actual error(s), which occur long before the "ypwhich" message. You should save the entire log, and search backwards from the end for the actual error. If you can't find it, post the full log somewhere off-list. > 3. I disable ccache in /usr/local/etc/buildflags.conf and re-start the > build. Progresses upto: > sh /asp/src/tools/install.sh -s -o root -g wheel -m 444 libz.so.6 > /usr/obj/asp/src/lib32/usr/lib32 > ln -fs libz.so.6 /usr/obj/asp/src/lib32/usr/lib32/libz.so > > However, examining the contents after build-break of > /usr/obj/asp/src/lib32/usr/lib32/ shows libz.so.6 and its linked alias > libz.so. > I am not able to move any further without help because I cannot figure out > where the problem may be. This looks like there is a problem building the 32-bit compat libraries. What are your exact make.conf and src.conf settings?