Working ccache configuration for buildworld on amd64?

RW fbsd06 at
Sun Aug 17 00:45:51 UTC 2008

On Fri, 15 Aug 2008 11:22:01 -0400
"Maxim Khitrov" <mkhitrov at> wrote:

> I think what's happening is that there is a collision in hash values
> generated by ccache. That's the only thing I can think of, because
> crt1.c is compiled twice; once from /usr/src/lib/csu/amd64/crt1.c, and
> a second time from /usr/src/lib/csu/i386-elf/crt1.c. If LIB32 is
> disabled in src.conf, only the first compilation takes place. If the
> generated hash values are the same, by some chance, then the actual
> problem is that the file is not compiled a second time when, in fact,
> it should be. This is only a guess, however.

That collision isn't going to happen for several reasons, but it's
missing the point I made earlier, that the build is failing on a cache
miss.   If the kind of situation you're describing is happening, then it's
happening earlier, and the observed error is just a side-effect.

More information about the freebsd-questions mailing list