develooper Front page | perl.perl5.porters | Postings from December 2014

'make' failure on tags prior to v5.14.0

Thread Next
From:
James E Keenan
Date:
December 25, 2014 16:53
Subject:
'make' failure on tags prior to v5.14.0
Message ID:
20141225165336.27025.qmail@lists-nntp.develooper.com
Today I wanted to do a 'git bisect' to determine the origin of the bug 
reported in https://rt.perl.org/Ticket/Display.html?id=123495.  I found 
I could not do so because, it appeared, that I could not configure and 
build perl from source on either 5.10.1 or 5.12.0.

I then did checkouts of various tags in the core distribution and 
attempted to configure and build them from source.  I found that I could 
not build on tags earlier than v5.14.0.

The command used in each case was exactly what I do with blead every day:
sh ./Configure -des -Dusedevel && make -j8

For tag v5.14.0, everything was normal.

For tag v5.13.11 and earlier, I got a 'make' failure ending like this:

#####
cc -fstack-protector -L/usr/local/lib -o miniperl \
	      gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o 
mro.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   \
	    miniperlmain.o opmini.o perlmini.o
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0x346a): undefined reference to `pow'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0x412b): undefined reference to `floor'
pp.c:(.text+0x4288): undefined reference to `floor'
pp.c:(.text+0x43cf): undefined reference to `fmod'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0x8212): undefined reference to `atan2'
pp.o: In function `Perl_pp_sin':
pp.c:(.text+0x83b1): undefined reference to `sin'
pp.o: In function `Perl_pp_int':
pp.c:(.text+0x8851): undefined reference to `floor'
pp.c:(.text+0x8899): undefined reference to `ceil'
pp.o:(.rodata+0x120): undefined reference to `cos'
pp.o:(.rodata+0x128): undefined reference to `sin'
pp.o:(.rodata+0x130): undefined reference to `sin'
pp.o:(.rodata+0x138): undefined reference to `exp'
pp.o:(.rodata+0x140): undefined reference to `log'
pp.o:(.rodata+0x148): undefined reference to `sqrt'
pp_sys.o: In function `S_gmtime64_r.isra.2':
pp_sys.c:(.text+0x2e5): undefined reference to `floor'
pp_sys.c:(.text+0x33e): undefined reference to `floor'
pp_sys.c:(.text+0x398): undefined reference to `floor'
pp_sys.c:(.text+0x441): undefined reference to `floor'
pp_sys.c:(.text+0x5c5): undefined reference to `ceil'
pp_sys.c:(.text+0x741): undefined reference to `ceil'
pp_sys.c:(.text+0x751): undefined reference to `ceil'
pp_sys.c:(.text+0x761): undefined reference to `ceil'
pp_sys.c:(.text+0x7bb): undefined reference to `fmod'
pp_sys.c:(.text+0x7e7): undefined reference to `fmod'
pp_sys.c:(.text+0x80b): undefined reference to `fmod'
pp_sys.c:(.text+0x835): undefined reference to `fmod'
pp_sys.o: In function `Perl_pp_gmtime':
pp_sys.c:(.text+0xb6a9): undefined reference to `floor'
pp_pack.o: In function `S_pack_rec':
pp_pack.c:(.text+0x7253): undefined reference to `floor'
pp_pack.c:(.text+0x7276): undefined reference to `floor'
pp_pack.c:(.text+0x72a3): undefined reference to `floor'
collect2: error: ld returned 1 exit status
make: *** [miniperl] Error 1
#####

What is particularly surprising is that on this machine (Ubuntu Linux 
14.04/amd_64), I have been able to build and install various perls going 
back to 5.6.2 via 'perlbrew'.

Can anyone suggest why this is happening?

Thank you very much.
Jim Keenan

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