Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 06:04:48 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-current@freebsd.org
Subject:   distcc does not work with clang
Message-ID:  <1361887488759-5790612.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
On FreeBSD 10.0-CURRENT #5 r247234

If I try to compile world, or any clang-dependent port, distcc returns an
error:

# make buildworld  CC=distcc
--------------------------------------------------------------
>>> Building an up-to-date make(1)
--------------------------------------------------------------
"/usr/share/mk/bsd.compiler.mk", line 17: Unable to determine compiler type
for distcc
*** [make] Error code 1

# make CC=distcc -C ports-mgmt/pkg
===>  License BSD accepted by the user
.....code output...
===>  Building for pkg-1.0.8
"/usr/share/mk/bsd.compiler.mk", line 17: Unable to determine compiler type
for distcc
*** [do-build] Error code 1

If, on the other hand I try to build a gcc-based port, no problems:
# make -j8 CC=distcc -C lang/gcc
completes nicely. No special CC/GCC settings in make.conf. All ccache
references disabled for distcc debugging.

Anyone have thoughts about this problem? Thanks.




--
View this message in context: http://freebsd.1045724.n5.nabble.com/distcc-does-not-work-with-clang-tp5790612.html
Sent from the freebsd-current mailing list archive at Nabble.com.



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