develooper Front page | perl.perl5.porters | Postings from February 2015

Re: 5.21.9 not building for me on Ubuntu

Thread Previous
From:
Shlomi Fish
Date:
February 21, 2015 08:11
Subject:
Re: 5.21.9 not building for me on Ubuntu
Message ID:
20150221101109.3fc4451c@telaviv1.shlomifish.org
Hi Rob and all,

On Sat, 21 Feb 2015 18:51:08 +1100
<sisyphus1@optusnet.com.au> wrote:

> Hi,
> 
> 5.21.9 is failing for me fairly early on as per attached 'make.out' (which 
> is the full outptut I got when I re-ran make after it failed).
> 
> Configure command was:
> 
> $ sh 
> Configure -des -Duse64bitint -Duse64bitall -Dusethreads -Dusequadmath
> -Dusedevel -Dprefix=/home/sisyphus/bleadperl
> 
> No problems with the same incantation, same machine, perl-5.21.7.
> 

I can reproduce this problem here on Mageia Linux x86-64 5/Cauldron .

Ran:

«
sh Configure -des -Duse64bitint -Duse64bitall -Dusethreads -Dusequadmath \
-Dusedevel  -Dprefix="$HOME/apps/TO_DEL-perl-5.21.9"
»

And "make" and got:

«
shlomif@telaviv1:~/Download/unpack/perl/p5/TO_DEL-perl-5.21.9/perl-5.21.9$ make
cc -c -DPERL_CORE -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -Wall
-Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings
-Wno-format numeric.c numeric.c: In function ‘Perl_my_atof2’:
numeric.c:1384:38: warning: passing argument 1 of ‘S_my_atof_infnan’ from
incompatible pointer type if ((endp = S_my_atof_infnan(s, negative, send,
value))) ^ numeric.c:1268:1: note: expected ‘struct PerlInterpreter *’ but
argument is of type ‘const char *’ S_my_atof_infnan(pTHX_ const char* s, bool
negative, const char* send, NV* value) ^ numeric.c:1384:21: error: incompatible
type for argument 2 of ‘S_my_atof_infnan’ if ((endp = S_my_atof_infnan(s,
negative, send, value))) ^ numeric.c:1268:1: note: expected ‘const char *’ but
argument is of type ‘_Bool’ S_my_atof_infnan(pTHX_ const char* s, bool
negative, const char* send, NV* value) ^
numeric.c:1384:57: warning: passing argument 4 of ‘S_my_atof_infnan’ from
incompatible pointer type if ((endp = S_my_atof_infnan(s, negative, send,
value))) ^
numeric.c:1268:1: note: expected ‘const char *’ but argument is of type ‘NV *’
 S_my_atof_infnan(pTHX_ const char* s, bool negative, const char* send, NV*
value) ^
numeric.c:1384:21: error: too few arguments to function ‘S_my_atof_infnan’
         if ((endp = S_my_atof_infnan(s, negative, send, value)))
                     ^
numeric.c:1268:1: note: declared here
 S_my_atof_infnan(pTHX_ const char* s, bool negative, const char* send, NV*
value) ^
makefile:256: recipe for target 'numeric.o' failed
make: *** [numeric.o] Error 1
shlomif@telaviv1:~/Download/unpack/perl/p5/TO_DEL-perl-5.21.9/perl-5.21.9$ 
»

My gcc version is gcc-4.9.2-4.mga5 .

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
UNIX Fortune Cookies - http://www.shlomifish.org/humour/fortunes/

If a tree falls down in the middle of the forest, and there’s no one there to
hear it… what colour is the tree?
    — Monkey Island 2: LeChuck’s Revenge

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Previous


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