Port-vax archive

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

Re: perl on VAX



Good morning,

Care to provide the output of the following:

No problem! FYI, I am seeing the text relocations and floating point exceptions on a VAX system with userland and perl compiled later in July. A system with userland and perl compiled in late June apparently doesn't have the same issues. Both run netbsd-8 and both have perl 5.26.0.

$ perl -lwe 'print 0+"0.29"'

perl -lwe 'print 0+"0.29"'
/usr/local/lib/perl5/5.26.0/vax-netbsd-thread-multi/CORE/libperl.so: text relocations
Floating exception (core dumped)

Another run:
0.2899999938905239

This machine shows floating exceptions about half the time. The second machine doesn't show exceptions.

$ nm /usr/pkg/lib/perl5/5.26.0/*-netbsd-thread-multi/auto/POSIX/POSIX.so |grep strto

Unhappy machine:

0000b7c0 T XS_POSIX_strtod
0000bb4c T XS_POSIX_strtol
0000b986 T XS_POSIX_strtold
0000bd9e T XS_POSIX_strtoul
         U strtod
         U strtol
         U strtold
         U strtoul

Happy machine:

00008d0e T XS_POSIX_strtod
000089f8 T XS_POSIX_strtol
00008bd6 T XS_POSIX_strtold
000087e6 T XS_POSIX_strtoul
         U strtod
         U strtol
         U strtold
         U strtoul


$ nm /usr/pkg/lib/perl5/5.26.0/*-netbsd-thread-multi/CORE/libperl.so |grep strto

Nothing.


It might be handy to:
- Share your packages and perl work directory, to ease debugging (They are also
kept in /usr/pkgsrc/packages/All/*)

Certainly. My packages are build with $LOCALBASE set to /usr/local, BTW:

https://www.klos.com/~john/perl-5.26.0nb1.tgz

This is the happy one. The unhappy one needs to be recompiled (I'm not sure I ever kept the package). I'll also keep the work directories and will upload them when they're done.

- To ease debugging more and assuming your machine can spend some time
 compiling perl again, mv your work directory, and start building
 perl like so:

make CFLAGS="-g3 -ggdb -O0" INSTALL_UNSTRIPPED=yes

Share the result and work directory :-)

I'll do this, too, when the regular perl build is finished.

/usr/local/lib/perl5/5.26.0/vax-netbsd-thread-multi/CORE/libperl.so: text relocations

I assume you saw martin post about the same, he also made PR toolchain/52427.

Yep. Looks like the same issue.

Thanks!
John


Home | Main Index | Thread Index | Old Index