Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Mar 2012 20:13:07 -0600
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [clang] Build error on r232474 (and a few before, don't know exactly which)
Message-ID:  <4F52CFB3.4070909@gmail.com>
In-Reply-To: <4F52B7A5.4000408@FreeBSD.org>
References:  <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F52CFB3.4070909>