tech-pkg archive

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

Re: Using a replacement linker with pkgsrc



* On 2020-06-25 at 20:16 BST, Brook Milligan wrote:

> 
> > On Jun 25, 2020, at 12:26 PM, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
> > 
> > This might be a problem with the "always-libgcc" option in gcc
> > packages.  I'm yet to be convinced that this whole thing is a good
> > idea, and you may want to see if enabling the option (it's a bit
> > confusing in that it's an inverted option) helps.
> 
> I’m not quite sure I understand what you mean exactly.  Do you mean setting _USE_GCC_SHLIB to something?
> 
> By default on this system it is yes.  I set it explicitly to no (as well as yes) and it made no difference.
> 
> Perhaps you mean something else though?

I mean set the "always-libgcc" option, i.e. add

  PKG_OPTIONS.gcc49+= always-libgcc

to your mk.conf.

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


Home | Main Index | Thread Index | Old Index