Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 10:13:10 +0200
From:      Beeblebrox <zaphod@berentweb.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r273918 buildworld broke at semaphore
Message-ID:  <5465B996.8020705@berentweb.com>
In-Reply-To: <546391A5.4010203@berentweb.com>
References:  <1414786086662-5961241.post@n5.nabble.com> <201411111333.05910.jhb@freebsd.org> <CAEJt7hZ_p1LZ9ywk-mYyJxumMWy0BUAAa2OW2MtnE5efbVkUjA@mail.gmail.com> <201411121151.05374.jhb@freebsd.org> <546391A5.4010203@berentweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I posted the solution to this through the Nabble page, but there's a 
change in setting there and the messages have not gone through. So, 
re-posting to mail list:

I disabled ccache, then buildworld / buildkernel completed.

I had in /etc/make.conf:
.if ${.CURDIR:M/usr/src} || ${.CURDIR:M/usr/src/*} || 
${.CURDIR:M/asp/git/src} || ${.CURDIR:M/asp/git/src/*}
THREADS=16
#CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
#CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1}

The only reason I can think of is that somehow ccache was passing the 
older cached code to the buildworld process, and the reason for that 
wold be because certain clang components fail to identify themselves to 
ccache correctly.

Once I installed the newly built kernel/world and re-booted
* I deleted all under /usr/obj
* re-enabled ccache in make.conf
* re-ran "# make buildworld" > completed without problem.




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