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 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.

Thanks,

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


Home | Main Index | Thread Index | Old Index