Port-vax archive

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

Re: perl on VAX



In article <Pine.NEB.4.64.1706252315490.29795%andromeda.zia.io@localhost>,
John Klos  <john%ziaspace.com@localhost> wrote:
>Hi,
>
>Perl 5.26.0 from pkgsrc compiles and runs without issues on NetBSD 6. It 
>compiles on netbsd-8 from yesterday, but has some issues running. I 
>noticed that I can't compile automake:
>
>...
>   GEN      doc/automake-1.15.1
>/usr/local/lib/perl5/5.26.0/vax-netbsd-thread-multi/CORE/libperl.so:
>text relocations
>help2man: can't get `--help' info from automake-1.15
>Try `--no-discard-stderr' if option outputs to stderr
>*** [doc/automake-1.15.1] Error code 2
>
>A little searching shows that this occurs when Thread::Queue is missing:
>
>luna: {12} perl -e 'use Thread::Queue' ; echo $?
>/usr/local/lib/perl5/5.26.0/vax-netbsd-thread-multi/CORE/libperl.so:
>text relocations
>attributes object version 0.2899999938905239 does not match
>$attributes::VERSION 0.29 at /usr/local/lib/perl5/5.26.0/XSLoader.pm
>line 114.
>Compilation failed in require at
>/usr/local/lib/perl5/5.26.0/Thread/Queue.pm line 19.
>BEGIN failed--compilation aborted at
>/usr/local/lib/perl5/5.26.0/Thread/Queue.pm line 19.
>Compilation failed in require at -e line 1.
>BEGIN failed--compilation aborted at -e line 1.
>2
>
>However, pkgsrc compiled perl with:
>
>These options are currently enabled:
> 	64bitauto threads
>
>So... Does anyone know what's going on here, or why I'm getting text 
>relocations messages on every perl invocation?

Something is compiling things in the perl shared library without pic,
or there is a binutils issue. Search for DF_TEXTREL in elf32-vax.c
in /usr/src/external/gpl3/binutils/dist/bfd and to check why there
was no warning printed during the build.

christos




Home | Main Index | Thread Index | Old Index