Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 05:42:28 -0500
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-current@freebsd.org
Subject:   Re: can't compile -CURRENT since 2 days ago
Message-ID:  <200511150542.34910.nb_root@videotron.ca>
In-Reply-To: <20051115062059.GC56313@ip.net.ua>
References:  <200511141702.45491.nb_root@videotron.ca> <20051115062059.GC56313@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> Your build environment is screwed, there shouldn't be CC='/usr/bin/cc'.
> During buildworld, /usr/obj/usr/src/tmp/usr/include is populated with
> fresh headers, and a special (not /usr/bin/cc) compiler and friends
> are used to pick up headers from this location and not /usr/include.
> This CC='/usr/bin/cc' prevents this from happening, hence the breakage.
>
>
> Cheers,

So, ccache's port recommending this:

.if !defined(NOCCACHE)
.if ${.CURDIR:M/usr/src*}
CC=/usr/local/libexec/ccache/cc
CXX=/usr/local/libexec/ccache/c++
.else
CC=cc
CXX=c++
.endif
.else
CC=/usr/bin/cc
CXX=/usr/bin/c++
.endif

in /etc/make.conf is wrong?
-- 
FreeBSD 7.0-CURRENT #0: Mon Nov 14 22:21:20 EST 2005     
root@clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDebuaz38ton5LGeIRAohWAJ9OvXUTtdG/5ZBjOPowgnvc27BJPQCaAryW
KRZ7qDY0fN3os1UMDSVquEE=
=bL9J
-----END PGP SIGNATURE-----

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