[ccache] ccache doesn't compile binutils

2004-04-14 Thread Edward S. Peschko
From: Edward S. Peschko e...@pge.com
To: Martin Pool m...@samba.org
Cc: 
Bcc: 
Subject: Re: [ccache] ccache doesn't compile binutils
Reply-To: 
In-Reply-To: 20040414041035.gb29...@hp.com


On Wed, Apr 14, 2004 at 02:10:35PM +1000, Martin Pool wrote:
 On 13 Apr 2004, Edward S. Peschko e...@pge.com wrote:
 
  no, I'm definitely using gcc and the associated binutils. Compiling the 
  first time
  works, compiling the second breaks with the above error.
  
  I'm just curious if this bug is reproducible on other linuxes... I'd really 
  like
  to use ccache, but it has to work correctly, cross-platform (on very
  very large projects)
 
 I thought you said you were using Solaris?
 

well, of course, but I also use linux, windows (via cygwin), AIX and UWIN (on 
OS/390 no
less)


  (
  ps - has anyone made a large integration test with ccache, ie: integrated 
  it into
  the gentoo builds, etc? If you could compile an entire gentoo build using 
  ccache, I'd
  be more comfortable with it.
  )
 
 Yes, this has been done.  You can build all of Gentoo using ccache,
 except for the parts with broken makefiles, where it is specifically
 disabled.

What's wrong with the makefiles? I thought that cache was transparent if you 
made 
a link to gcc/etc.


Anyways, I double checked, and I'm indeed using gnu's ld, etc. Does anyone have 
a solaris install to confirm? Or how would I go about tracking this down?

Ed


[ccache] ccache doesn't compile binutils

2004-04-14 Thread Martin Pool
On 13 Apr 2004, Edward S. Peschko e...@pge.com wrote:
 
 On Tue, Apr 06, 2004 at 11:30:55AM +1000, Martin Pool wrote:
  On  4 Apr 2004, Edward S. Peschko e...@pge.com wrote:
   hey all,
   
   I was trying to compile binutils using ccache (version 2.3) and am 
   getting the following
   errors:
  
  Are you using ccache to wrap Sun CC?  Maybe you're hitting a bug in
  Sun CC.
 
 no, I'm definitely using gcc and the associated binutils. Compiling
 the first time works, compiling the second breaks with the above
 error.

binutils 2.14.90.0.4 builds correctly for me on debian sid i386 with
ccache 2.2.  The second time through gets lots of cache hits and is
very quick.

-- 
Martin