Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2017 12:01:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang
Message-ID:  <bug-203094-32464-kiaXpqlenk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203094-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203094-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203094

Chris Collins <chrysalis@chrysalisnet.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrysalis@chrysalisnet.org

--- Comment #15 from Chris Collins <chrysalis@chrysalisnet.org> ---
Something is still broken.

Here is my situation.

Base system is 10-STABLE dated Sep 26 2016
New src code is RELENG 11.0 P9

ccache is installed on the system

I first couldnt even get buildworld to complete, very odd error rejecting
cputype of nehalem, this error appeared even with no cputype set in make.co=
nf.
I proceeded to uncomment the CC=3D lines that set as below

.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc)
CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif

After I did this the buildworld proceeded but very slow, I discovered ccache
was operating, as the misses were tallying up and I had disk thrashing from=
 the
cache objects been written.

So I then commented out WITH_CCACHE_BUILD=3DYES in make.conf, the line is n=
ot
present in src.conf at all.

This time buildworld completed and at normal speed.

But now I get the error on make installworld.

So the question is if none of the cache lines are active in either make.con=
f or
src.conf and one gets this error.

Is it a bug or operator error?=20=20

bmake[2]: "/usr/src/110/share/mk/bsd.compiler.mk" line 132: warning:
"/usr/local/bin/ccache cc  --version || echo 0.0.0" returned non-zero status
bmake[2]: "/usr/src/110/share/mk/bsd.compiler.mk" line 145: Unable to deter=
mine
compiler type for CC=3D/usr/local/bin/ccache cc .  Consider setting
COMPILER_TYPE.

So here is 2 observations.

1 - The compiler used during buildworld was not "/usr/local/bin/ccache cc"it
was just "cc"
2 - Why is it showing "/usr/local/bin/ccache cc" when I have nothing enabli=
ng
ccache active in either src.conf or make.conf, is simply having the ccache =
port
installed enough to make the world tools try to use it?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203094-32464-kiaXpqlenk>