buildworld with clang breaks because no cc

Dimitry Andric dim at FreeBSD.org
Sat Nov 24 12:37:22 UTC 2012


On 2012-11-23 12:37, Beeblebrox wrote:
> I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867.
> In /etc/src.conf I have "WITHOUT_GCC= yes". Compile progresses up to below
> then breaks:
...
> lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory

Currently, you cannot use WITHOUT_GCC without also setting
WITH_CLANG_IS_CC.  Some programs, like lint, are still hardcoded to run
'cc' for their processing, so if there is no 'cc' executable during the
world stage, your build will fail.


More information about the freebsd-stable mailing list