pkgsrc-Users archive

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

Re: gnutls vs. PAX MPROTECT on i386-current?

On Tue, Nov 29, 2016 at 03:34:13PM -0600, John D. Baker wrote:
> On Tue, 29 Nov 2016, Joerg Sonnenberger wrote:
> > > > /usr/pkg/lib/ text relocations
> > > > /usr/pkg/lib/ Cannot write-enable text segment: Permission denied
> > 
> > Please figure out exactly where the text relocations are. I would
> > suspect some badly written assembly ignoring the PIC requirements, but
> > it would be good to make sure... -Wl,--warn-shared-textrel can help.
> I've added this to CFLAGS, CXXFLAGS and directly to the make targets
> for the cups 'genstrings' and 'mantohtml' utilities.  Nothing shows up
> at compile/link time.  The above warnings/errors only appear at run
> time.

It's a linker flag, it is needed while linking libgnutls.


Home | Main Index | Thread Index | Old Index