Port-vax archive

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

Re: Anyone running -current?



On 05/28/2013 11:14 AM, Martin Husemann wrote:
On Tue, May 28, 2013 at 08:43:57AM +0200, Martin Husemann wrote:
Ok, of course it is obvious (and both Joerg and ld have been pointing
it out, but I didn't listen): the *_lc_global_locale reference is not
PIC, so rightfully ld complains about a relocation in the read-only .text
section.
And this is not a compiler bug, but a consequence of MKPICLIB = no.

#
# On VAX using ELF, all objects are PIC, not just shared libraries,
# so don't build the _pic version.
#
.if ${MACHINE_ARCH} == "vax"
MKPICLIB=       no
.endif


Is it a lie? Help
It's not a lie.  All vax code generated should be PIC.

(I haven't followed the original discussion though).

-- Ragge



Home | Main Index | Thread Index | Old Index