From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 02:13:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A889106564A for ; Sun, 4 Mar 2012 02:13:26 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B73C78FC0A for ; Sun, 4 Mar 2012 02:13:25 +0000 (UTC) Received: by mail-iy0-f182.google.com with SMTP id k25so5374044iah.13 for ; Sat, 03 Mar 2012 18:13:25 -0800 (PST) Received-SPF: pass (google.com: domain of jrisom@gmail.com designates 10.50.87.136 as permitted sender) client-ip=10.50.87.136; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jrisom@gmail.com designates 10.50.87.136 as permitted sender) smtp.mail=jrisom@gmail.com; dkim=pass header.i=jrisom@gmail.com Received: from mr.google.com ([10.50.87.136]) by 10.50.87.136 with SMTP id ay8mr2939803igb.25.1330827205659 (num_hops = 1); Sat, 03 Mar 2012 18:13:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XjuTYwl5IrFEaQqCtOWA59uY8I1uYq8wHVqLjAaYcJI=; b=onlujcbLjT60uwNriIRVnpavr0pmsGnuNi9aWXMZuBkr/OVr9av+8FkLEqBTm9xs49 JWTQYYmrTOhOtEbWhimut5VgerPA/ycH+rdIQsptpbKBbhjnxxrDQY922tBUxc+BoIz/ 03peEW89XL/MZOallmjBQaMo5Ls3MoWwxVq4AblXk6QDO3PuwR7dtuC0uur10fF6S8Jg WcYk5hxa582xTK5qe2QIKWjz4ELCcEZVBwnnZRHSlXLhUrSMffKuVIL9tatO9nlvMCkv D7zNvaxoXkHJR8QpCAThV8En0ahPAhBw1JCGIla2bppiaYNDBDZg7CqJV8v2102K5fZ9 15og== Received: by 10.50.87.136 with SMTP id ay8mr2437856igb.25.1330827205631; Sat, 03 Mar 2012 18:13:25 -0800 (PST) Received: from [192.168.1.3] (c-98-212-197-29.hsd1.il.comcast.net. [98.212.197.29]) by mx.google.com with ESMTPS id a9sm6816215igd.3.2012.03.03.18.13.23 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 18:13:24 -0800 (PST) Message-ID: <4F52CFB3.4070909@gmail.com> Date: Sat, 03 Mar 2012 20:13:07 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org> In-Reply-To: <4F52B7A5.4000408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) 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, 04 Mar 2012 02:13:26 -0000 On 3/3/2012 6:30 PM, Dimitry Andric wrote: > > Huh, that's weird. I see no reason that it wouldn't install cc during > the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and > aren't using WITH_CLANG_IS_CC at the same time). > > Can you post your src.conf file, please? I've had this happen for a while but kept forgetting to post a pr. If you define WITHOUT_GCC, a cc isn't created in /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do a symbolic link from clang, and restart make with -DNO_CLEAN it'll work and complete. One of the programs hardcodes cc and doesn't check the environment, I forget which.