develooper Front page | perl.perl5.porters | Postings from September 2016

[perl #129361] Perl 5.25.5 / 5.24.0 do not build on SunOS4

Thread Next
From:
Klaus Ziegler
Date:
September 26, 2016 18:35
Subject:
[perl #129361] Perl 5.25.5 / 5.24.0 do not build on SunOS4
Message ID:
rt-4.0.24-26587-1474907187-712.129361-75-0@perl.org
# New Ticket Created by  Klaus Ziegler 
# Please include the string:  [perl #129361]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129361 >


Hi,
I wasn't able to build any release newer then 5.8.4 using the unbundled C-Compiler (SPARCworks 3.0.1), using gcc-2.95.3/3.2.3 perl-5.8.8 was the last one. Since div_t was introduced in util.c no perl5 was able to be build using gcc. Up from version 5.23.9 div_t isn't used any more so I thought give it a try. Due to the absence of strerror() in SunOS4 libc, I used strerror() from gcc's libiberty and was at least able to build miniperl which bails out right after linking with:
gcc -c -DPERL_CORE -fno-strict-aliasing -pipe -DDEBUGGING -g -Wall miniperlmain.c
inline.h:227: warning: `S_croak_memory_wrap' defined but not used
gcc -L/usr/5lib -L/opt/gcc/2.95.3/lib -o miniperl \
    opmini.o perlmini.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o time64.o  miniperlmain.o  -lnsl -ldbm -lm -lc -lposix -liberty
./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl.  Please run make minitest; exit 1'
Failed to build miniperl. Please run make minitest
gmake: *** [lib/buildcustomize.pl] Error 1

5.25.5/sv.c gives this warning:
gcc -c -DPERL_CORE -fno-strict-aliasing -pipe -DDEBUGGING -g -Wall sv.c
sv.c: In function `S_hextract':
sv.c:11145: warning: implicit declaration of function `Perl_fp_class_denorm'
and later on bails out during linking:
ld: Undefined symbol
   _Perl_fp_class_denorm
collect2: ld returned 2 exit status
I got by this using function S_hextract from 5.24.0/sv.c but with the same result as above in 5.24.0.
I'm in desperate need for any perl5 newer then 5.10.1, because the SSL guys changed their test engine to use perl-5.10.1 as a min. requirement, in order to be able to use the new SSL test-suite. Please help me to get the next generation of SSL/SSH working on SunOS4 - not to mention the functionality of new perl5 releases itself. No question I will setup account(s) if needed/wanted - dbx and gdb are also available for debugging if needed.

Thanks much in advance
Regards Klaus


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About