I can't install perl-5.26.0-RC1 in CentOS 5.11

I try new perl in Cent OS 5.

But I can't install perl-5.26.0-RC1 in CentOS 5.11.

sv.c:(.text+0xe11): undefined reference to `Perl_fp_class_denorm'

Maybe this is similar with the following ticket.

https://www.nntp.perl.org/group/perl.perl5.porters/2016/09/msg239982.html

More information

$ uname -a
Linux www7402u.sakura.ne.jp 2.6.18-404.el5 #1 SMP Tue Apr 7 12:42:54 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/redhat-release
CentOS release 5.11 (Final)

$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)

Error

cc -fstack-protector -L/usr/local/lib -o miniperl \
   2424       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 p        p.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  -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
   2425 sv.o: In function `S_hextract':
   2426 sv.c:(.text+0xe11): undefined reference to `Perl_fp_class_denorm'
   2427 collect2: ld returned 1 exit status
   2428 make: *** [lib/buildcustomize.pl] Error 1


7 Comments

Hi!

Thanks for testing 5.26.0-RC1. :)

Which version of GCC do you have? Is the one matching the report?

Would you be able to either (a) sign up for the Perl 5 Porters mailing list send email to: perl5-porters-subscribe@perl.org) or (b), using a newsreader, subscribe to the perl.perl5.porters group at nntp.perl.org?

Members of the Perl 5 Porters are working on your problem, but they need to interact with you. That will be much easier on list than here?

Thank you very much.
Jim Keenan

Im on CentOS release 5.11 (Final)using gcc version 4.4.7 20120313 (Red Hat 4.4.7-1) (GCC) and have same error when trying to build perl 5.24.3


...
miniperlmain.o -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
sv.o: In function `S_hextract':
sv.c:(.text+0x9b5): undefined reference to `Perl_fp_class_denorm'
collect2: ld returned 1 exit status
make: *** [lib/buildcustomize.pl] Error 1

Any success or we need to give up on CentOS 5.x and move forward to 6.x ?

Any progress on this ? I have a similar issue ... CentOS 5.11 gcc 4.4

cc -fstack-protector -L/usr/local/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 -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
sv.o: In function `S_hextract':
sv.c:(.text+0xce5): undefined reference to `Perl_fp_class_denorm'
collect2: ld returned 1 exit status
make: *** [lib/buildcustomize.pl] Error 1


OS: CentOS release 5.11 (Final)

GCC: gcc version 4.4.7 20120313 (Red Hat 4.4.7-1) (GCC)

Leave a comment

About Yuki Kimoto

user-pic I'm Yuki Kimoto, Japanese Perl programmer.I create Perl modules and applications. GitPrep, SPVM, DBIx::Custom, Validator::Custom, Test::Mojo, Mojolicious::Plugin::AutoRoute, etc.