From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 03:08:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03840106564A for ; Mon, 5 Mar 2012 03:08:44 +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 448268FC08 for ; Mon, 5 Mar 2012 03:08:43 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q2538a54014015 for ; Mon, 5 Mar 2012 03:08:37 GMT Message-ID: <4F542E35.9030301@gamozo.org> Date: Sun, 04 Mar 2012 22:08:37 -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> <4F52D374.1060105@gamozo.org> In-Reply-To: <4F52D374.1060105@gamozo.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: Mon, 05 Mar 2012 03:08:45 -0000 On 3/3/2012 9:29 PM, Brandon Falk wrote: > 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. > > 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 ----FIXED---- Sometime between 12 hours prior, and r232529 this bug was fixed. Just did a successful build on r232529. -Brandon