From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:37:22 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 359B675 for ; Sat, 24 Nov 2012 12:37:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id DEDDB8FC13 for ; Sat, 24 Nov 2012 12:37:21 +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 5F5655C37; Sat, 24 Nov 2012 13:37:20 +0100 (CET) Message-ID: <50B0BF88.4050105@FreeBSD.org> Date: Sat, 24 Nov 2012 13:37:28 +0100 From: Dimitry Andric Organization: The FreeBSD Project 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> In-Reply-To: <1353670641224-5763472.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:37:22 -0000 On 2012-11-23 12:37, Beeblebrox wrote: > I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867. > In /etc/src.conf I have "WITHOUT_GCC= yes". Compile progresses up to below > then breaks: ... > lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory Currently, you cannot use WITHOUT_GCC without also setting WITH_CLANG_IS_CC. Some programs, like lint, are still hardcoded to run 'cc' for their processing, so if there is no 'cc' executable during the world stage, your build will fail.