Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 5.25.5 / 5.24.0 do not build on SunOS4 #15630

Closed
p5pRT opened this issue Sep 26, 2016 · 4 comments
Closed

Perl 5.25.5 / 5.24.0 do not build on SunOS4 #15630

p5pRT opened this issue Sep 26, 2016 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 26, 2016

Migrated from rt.perl.org#129361 (status was 'abandoned')

Searchable as RT129361$

@p5pRT
Copy link
Author

p5pRT commented Sep 26, 2016

From klausz@haus-gisela.de

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

@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

From @iabyn

On Mon, Sep 26, 2016 at 09​:26​:27AM -0700, Klaus Ziegler wrote​:

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

Note that the last release of SunOS4 was 22 years ago, and gcc 3.2.3 was
released 13 years ago. So don't be surprised if no one is able/willing to
provide support for this ticket.

--
O Unicef Clearasil!
Gibberish and Drivel!
  -- "Bored of the Rings"

@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT p5pRT closed this as completed Mar 21, 2017
@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2017

@iabyn - Status changed from 'open' to 'abandoned'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants