From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 09:42:55 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 24BD6106564A for ; Sun, 4 Mar 2012 09:42:55 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (unknown [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id E472D8FC0A for ; Sun, 4 Mar 2012 09:42:54 +0000 (UTC) Received: from feathers.peganest.com ([176.227.140.204]) (authenticated bits=0) by hercules.mthelicon.com (8.14.5/8.14.5) with ESMTP id q249gkm2047118; Sun, 4 Mar 2012 09:42:50 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: freebsd-hackers@freebsd.org Date: Sun, 4 Mar 2012 09:42:40 +0000 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <4F52AA30.2030600@gamozo.org> <4F52CFB3.4070909@gmail.com> <4F52D374.1060105@gamozo.org> In-Reply-To: <4F52D374.1060105@gamozo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203040942.40850.ken@mthelicon.com> Cc: Brandon Falk 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 09:42:55 -0000 On Sunday 04 March 2012 02:29:08 Brandon Falk wrote: > > 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, I had the same problem for a while but what I did to get around the problem was define WITH_CLANG_IS_CC=no in the /etc/src.conf and that created cc and the build continued. Peg