[SM-Discuss] Subtle header file problem on boxes installed from 0.10.0-test4?

George Sherwood pilot at beernabeer.com
Wed Nov 5 11:52:00 EST 2008


On Wed, 5 Nov 2008 17:49:26 +0100
Treeve Jelbert <treeve at scarlet.be> wrote:

> On Wednesday 05 November 2008 16:52:53 Kevin Monceaux wrote:
> > On Tue, 4 Nov 2008, George Sherwood wrote:
> > > TileHeight is declared in shear.c, so I am not sure what is going
> > > on.
> >
> > After a lot of trial and error I think I've made a bit of
> > progress.  I discovered with with the exact same configure options
> > I could build imagemagick successfully "by hand" but casting it
> > failed.  The only difference I could think of between the two was
> > that I had ccache enabled in sorcery.  I disabled ccache and was
> > able to cast imagemagick successfully.  I enabled/disabled it a
> > couple of more times and each time the cast fails with ccache
> > enabled, and succeeds with ccache disabled. Are there any ccache
> > gurus around that know why ccache might cause such a compile
> > failure?
> >
> 
> I suspect a bad cached compile from  gcc.
> ccache calculates a hash based on the preprocessed input file, the
> compiler version and the compiler flags. If the hash matches, ccache
> uses the previously compiled output or error file.
> 
> what happen if you reenable ccache and choose some different CFLAGS,
> just for the bad file?  This should force a fresh compile, as ccache
> will not find a match.

I only now for the first time enabled CCACHE and imagemagick failed as
described. Seems like that would rule out this option.

George


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20081105/2e7ccab6/attachment.bin 


More information about the SM-Discuss mailing list