pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building with ccache w/gcc4.8



* On 2013-08-14 at 12:50 BST, Richard PALO wrote:

> Le 14/08/13 09:11, Jonathan Perkin a écrit :
> > Assuming this is illumos, it's highly likely to be from either:
> >
> >    devel/binutils/override-as.mk
> >    lang/gcc47-libs/buildlink3.mk
> >    lang/gcc48-libs/buildlink3.mk
> >
> > where we use it to override various paths.
> >
> > It looks ok to me to change them to '-specs=<file>'.
> >
> > Regards,
> >
> Thanks Jonathan, my 'find' finished about the same time.
> And that did indeed do the trick.
> 
> In the meanwhile I noticed in mk/transform-gcc that both
> `-specs filename` and `-specs=filename` are passed through.
> 
> I'm curious as whether the former should now invoke `transform_fail`
> instead of passing it in?  Are there any real world cases where this
> is necessary?

We definitely shouldn't fail, '-specs file' is perfectly legitimate
GCC syntax.  What we could do is transform '-specs ' to '-specs='.

However, the real bug is in ccache, which should be fixed to correctly
handle the '-specs file' case.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index