[ccache] [PATCH] Some patches for Xcode support

Bernhard Bauer bauerb at google.com
Mon Jun 14 11:13:45 MDT 2010

On Sun, Jun 13, 2010 at 22:32, Joel Rosdahl <joel at rosdahl.net> wrote:
> I see. distcc 2.18.3 (the oldest release I can find on distcc.org) seems
> to know about .mi/.mii. Do you think it's acceptable to upgrade to a
> newer distcc to fix this? It would be nice to avoid having a workaround
> for older distcc versions.

The bug is actually more subtle: distcc has global variables
indicating whether whether it has seen an -x option and the last value
of its argument, and forgets to clear them between running multiple
jobs on the server, so it assumes an incorrect language override when
no -x option is present. This bug is in the Apple-patched distcc
version that's shipped with the 10.5 Developer Tools (source at
http://opensource.apple.com/tarballs/distcc/distcc-1201.tar.gz), so
it's -- sadly -- not a really old version.

With ccache eating the -x option, I don't see an easy workaround for
this bug, and upgrading distcc would mean having to upgrade it on all
machines at once for compatibility reasons :-(


More information about the ccache mailing list