buildworld with clang breaks because no cc

Beeblebrox zaphod at berentweb.com
Mon Nov 26 11:11:26 UTC 2012


Some strange errors continue - I'm not complaining, just informing:
/asp/src/release > # make release OR # make cdrom etc.. breaks at
kernel.txz:
===> zlib (install)
install -o root -g wheel -m 555   zlib.ko
//usr/obj/asp/src/release/dist/kernel/boot/kernel
kldxref //usr/obj/asp/src/release/dist/kernel/boot/kernel
1 error
*** [kernel.txz] Error code 2

If I remove in /etc/make.conf the call to buildflags.conf and just have in
make.conf:
CC=clang
CXX=clang++
CPP=clang-cpp
Then it works without any problems. My buildflags.conf as before only has:
/asp/src | /asp/src/* | /usr/src | /usr/src/*{
        CC=     clang
        CPP=    clang-cpp
        CXX=    clang++
#       USE_CCACHE
#       USE_CCACHE_CPP2
#       USE_DISTCC
        THREADS=        6
        NO_CLEAN
}
/asp/ports | /asp/ports/*{ stuff...
Regards.



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


More information about the freebsd-stable mailing list