Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2008 15:48:38 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Working ccache configuration for buildworld on amd64?
Message-ID:  <20080815154838.16f391a9@gumby.homeunix.com.>
In-Reply-To: <26ddd1750808141304x46ed9e6dhe5bf04363a41626b@mail.gmail.com>
References:  <26ddd1750808141304x46ed9e6dhe5bf04363a41626b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Aug 2008 16:04:52 -0400
"Maxim Khitrov" <mkhitrov@gmail.com> wrote:

> This is an old problem, but so far I haven't been able to find a
> solution. When ccache is used to build world on amd64, the process
> fails when /usr/src/lib/csu/i386-elf/crt1.c is compiled. If
> WITHOUT_LIB32 is added to src.conf, this problem does not happen.
> Likewise, building without ccache works fine.

I take it that you've already tried removing any unnecessary settings
such as CFLAGS.

What interesting about this is that it's failing on a compile; i.e. on a
cache miss, when ccache is doing next to nothing. That suggests that
there's either a problem in the way that the real compiler is invoked
by ccache, or that the real failure occurred during the building
of the toolchain and it's dependencies. 

I'd try setting CCACHE_RECACHE temporarily in the environment, to flush
out the old cached files, and see if it makes a difference.



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