Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 03:37:21 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-stable@freebsd.org
Subject:   buildworld with clang breaks because no cc
Message-ID:  <1353670641224-5763472.post@n5.nabble.com>

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

===> usr.bin/xlint/xlint (all)
===> usr.bin/xlint/llib (all)
lint -cghapbx -Cposix /asp/src/usr.bin/xlint/llib/llib-lposix
lint -cghapbx -Cstdc /asp/src/usr.bin/xlint/llib/llib-lstdc
===> lib/clang/libllvmx86codegen (all)
llib-lposix:
llib-lstdc:
lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory
*** [llib-lstdc.ln] Error code 1
lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory
*** [llib-lposix.ln] Error code 1
2 errors
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [usr.bin.all__D] Error code 2
===> lib/clang/libllvmx86desc (all)
===> lib/clang/libllvmx86disassembler (all)
===> lib/clang/libllvmx86info (all)
===> lib/clang/libllvmx86instprinter (all)
===> lib/clang/libllvmx86utils (all)
===> lib/clang/include (all)
1 error
*** [everything] Error code 2
1 error
*** [buildworld] Error code 2
Stop in /asp/src.


My source is in /asp/src (symlinked from /usr/src also).
clang is set in /usr/local/etc/buildflags.conf.
I have disabled ccache while I try and work through this error - so it is
not a factor.




--
View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472.html
Sent from the freebsd-stable mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353670641224-5763472.post>