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