tech-pkg archive

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

Re: cwrappers (Was: shell wrappers: merge -l nameoflib into a single -lnameoflib)



On 20 September 2016 at 12:08, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
>
> * On 2016-09-20 at 11:45 BST, Mike wrote:
>
> > I tried to use cwrappers(by definding USE_CWRAPPERS option in mk.conf).
> > But then I enable it, it seems that option PKGSRC_MKPIE
> > (probably also PKGSRC_USE_FORTIFY, maybe others, but I'm not really sure
> >  about that) stops working. It is on netbsd-current(7.99.3x) and pkgsrc-current.
> > I guess so because I always get only regular executables with it.
> > I tried following compilers: gcc-54(native/pkgsrc) gcc-484(pkgsrc).
> > Maybe I missed something?  (I mean native builds, on amd64).
>
> Hmm yes, it looks like PKGSRC_MKPIE doesn't support cwrappers which is
> a pity, though it should just be a matter of correctly implementing
> mk/wrapper/cmd-sink-mkpie-gcc
>
> PKGSRC_USE_FORTIFY works fine with cwrappers however.

So, 2016Q3 is out. Are we at the point where we can make USE_CWRAPPERS
the default in some useful subset of platforms (or possibly all with a
well announced config option [which is also commented to request they
email the list with their problem] to switch back for people who have
issues)?


Home | Main Index | Thread Index | Old Index