From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 02:29:16 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 A878C106564A for ; Sun, 4 Mar 2012 02:29:16 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 436518FC13 for ; Sun, 4 Mar 2012 02:29:15 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q242TEG6011284 for ; Sun, 4 Mar 2012 02:29:15 GMT Message-ID: <4F52D374.1060105@gamozo.org> Date: Sat, 03 Mar 2012 21:29:08 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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> <4F52CFB3.4070909@gmail.com> In-Reply-To: <4F52CFB3.4070909@gmail.com> 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:29:16 -0000 On 3/3/2012 9:13 PM, Joshua Isom wrote: > 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. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" Built the code until it failed. Then did a `ln -s /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc` and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine. Thanks for the help, although we've got to sort this hardcode out somewhere :P -Brandon Falk