Re: [ccache] ccache version 3.2.3 has been released

2015-08-19 Thread Joel Rosdahl
> > ldflags should not contain libs for linking ... that's what LIBS is for. Thanks, will make it so. -- Joel On 19 August 2015 at 15:41, Mike Frysinger wrote: > On 17 Aug 2015 21:06, Joel Rosdahl wrote: > > Tom Lane wrote: > > > [...] this fails to build for me on late-model OS X: > > > > B

Re: [ccache] ccache version 3.2.3 has been released

2015-08-19 Thread Mike Frysinger
On 17 Aug 2015 21:06, Joel Rosdahl wrote: > Tom Lane wrote: > > [...] this fails to build for me on late-model OS X: > > Bummer. Here's my proposed fix: > https://git.samba.org/?p=ccache.git;a=commitdiff;h=f74c76107933046309861680b741adc67ac2a34e. > Perhaps you could try it out? that might work,

Re: [ccache] ccache version 3.2.3 has been released

2015-08-18 Thread Tom Lane
Joel Rosdahl writes: > Tom Lane wrote: >> [...] this fails to build for me on late-model OS X: > Bummer. Here's my proposed fix: > https://git.samba.org/?p=ccache.git;a=commitdiff;h=f74c76107933046309861680b741adc67ac2a34e. > Perhaps you could try it out? Yup, that seems to work as expected on

Re: [ccache] ccache version 3.2.3 has been released

2015-08-17 Thread Anders Björklund
>> that's not really true. make will expand it internally into paths like >> /usr/lib/libz.so. > > Hmm ... there may be versions of make for which that's true, but > Apple's version (which is gnu make 3.81) does not like it. I think it fails because Apple forgot to change ".LIBPATTERNS", so that

Re: [ccache] ccache version 3.2.3 has been released

2015-08-17 Thread Joel Rosdahl
Tom Lane wrote: > [...] this fails to build for me on late-model OS X: Bummer. Here's my proposed fix: https://git.samba.org/?p=ccache.git;a=commitdiff;h=f74c76107933046309861680b741adc67ac2a34e. Perhaps you could try it out? -- Joel ___ ccache maili

Re: [ccache] ccache version 3.2.3 has been released

2015-08-17 Thread Tom Lane
Mike Frysinger writes: > On 16 Aug 2015 13:39, Tom Lane wrote: >> and of course "-lz" isn't a valid dependency. > that's not really true. make will expand it internally into paths like > /usr/lib/libz.so. Hmm ... there may be versions of make for which that's true, but Apple's version (which i

Re: [ccache] ccache version 3.2.3 has been released

2015-08-17 Thread Jürgen Buchmüller
Am Montag, den 17.08.2015, 00:50 -0400 schrieb Mike Frysinger: > On 16 Aug 2015 13:39, Tom Lane wrote: > > $ grep extra_libs Makefile > > extra_libs = -lz > > ccache$(EXEEXT): $(ccache_objs) $(extra_libs) > > $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) > > $(extra_libs) $(LIBS)

Re: [ccache] ccache version 3.2.3 has been released

2015-08-16 Thread Mike Frysinger
On 16 Aug 2015 13:39, Tom Lane wrote: > $ grep extra_libs Makefile > extra_libs = -lz > ccache$(EXEEXT): $(ccache_objs) $(extra_libs) > $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) $(extra_libs) > $(LIBS) > test/main$(EXEEXT): $(base_objs) $(test_objs) $(extra_libs) > $(

Re: [ccache] ccache version 3.2.3 has been released

2015-08-16 Thread Tom Lane
Joel Rosdahl writes: > I'm happy to announce ccache version 3.2.3. Hate to be the bearer of bad news, but this fails to build for me on late-model OS X: $ ./configure $ make gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/usr/local/etc -I. -I. -g -O2 -Wall -W -c -o main.o main.c ... gcc -DHAVE_CONFIG_H -