buildworld with clang breaks because no cc

Beeblebrox zaphod at berentweb.com
Fri Nov 23 11:37:22 UTC 2012


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.


More information about the freebsd-stable mailing list