Port-vax archive

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

Re: perl, text relocations and netbsd-8



On Sun, 25 Feb 2018, Anders Magnusson wrote:

> > With netbsd-6, perl worked fine. perl from netbsd-6 also works fine in
> > netbsd-8. However, perl compiled in netbsd-8 gives lots of these warnings:
> >
> > /usr/local/lib/perl5/5.26.0/vax-netbsd-thread-multi/CORE/libperl.so: text
> > relocations
> >
> > Martin Husemann opened PR toolchain/52427: VAX text relocations
> >
> > What's the right thing to do here?
> Hm, wasn't it this problem that could be because of the gas
> too-long-case-distance fixup?

 Sounds as if at least some objects comprising `libperl.so' were compiled 
non-PIC.  Dynamic relocations in text are a no-no.  Even if the loader is 
able to cope with them they defeat sharing as a copy of the offending page 
has to be made for modification.

  Maciej


Home | Main Index | Thread Index | Old Index