Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 51431
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.10_98
Fixed in: (no value)



Subject: Warnings from build with 64bit perl
Building trunk@895 with a 64 bit Perl I get some warnings, presumably due to its 64bit-ness. /usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap NYTProf.xs > NYTProf.xsc && mv NYTProf.xsc NYTProf.c cc -c -I/usr/local/include -I/opt/local/include -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" "-I/usr/local/lib/perl5/5.10.1/darwin-thread-multi-64int-ld-2level/CORE" -DHAS_ZLIB -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter NYTProf.c NYTProf.xs: In function ‘incr_sub_inclusive_time’: NYTProf.xs:2322: warning: format ‘%g’ expects type ‘double’, but argument 7 has type ‘NV’ NYTProf.xs:2322: warning: format ‘%g’ expects type ‘double’, but argument 8 has type ‘NV’ NYTProf.xs:2322: warning: format ‘%g’ expects type ‘double’, but argument 9 has type ‘NV’ NYTProf.xs:2322: warning: format ‘%g’ expects type ‘double’, but argument 10 has type ‘NV’ NYTProf.xs:2322: warning: format ‘%g’ expects type ‘double’, but argument 11 has type ‘NV’ NYTProf.xs: In function ‘load_profile_data_from_stream’: NYTProf.xs:4178: warning: format ‘%f’ expects type ‘double’, but argument 7 has type ‘NV’ NYTProf.xs:4178: warning: format ‘%f’ expects type ‘double’, but argument 8 has type ‘NV’ NYTProf.xs:4178: warning: format ‘%f’ expects type ‘double’, but argument 9 has type ‘NV’ NYTProf.xs:4178: warning: format ‘%f’ expects type ‘double’, but argument 10 has type ‘NV’ NYTProf.xs:4227: warning: value computed is not used NYTProf.xs:4455: warning: format ‘%.1f’ expects type ‘double’, but argument 2 has type ‘NV’ Running Mkbootstrap for Devel::NYTProf () chmod 644 NYTProf.bs rm -f blib/arch/auto/Devel/NYTProf/NYTProf.bundle LD_RUN_PATH="/opt/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -L/usr/local/lib -L/opt/local/lib -L/sw/lib -bundle -undefined dynamic_lookup -fstack-protector NYTProf.o -o blib/arch/auto/Devel/NYTProf/NYTProf.bundle \ -lz \ Here's the Perl info. Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=darwin, osvers=9.0.0, archname=darwin-thread-multi-64int-ld-2level uname='darwin windhund 9.0.0 darwin kernel version 9.0.0: tue oct 9 21:35:55 pdt 2007; root:xnu-1228~1release_i386 i386 ' config_args='-Dprefix=/usr/local/ -Dsitelib=/usr/local/lib/perl5/site_perl -Dsitearch=/usr/local/lib/perl5/site_perl/5.10/darwin-thread-multi-64int-ld-2level -Duseithreads -Duse64bitint -Duselongdouble -Dccflags=-I/usr/local/include -I/opt/local/include -I/sw/include -Dldflags=-L/usr/local/lib -L/opt/local/lib -L/sw/lib -Dlibpth=/usr/local/lib /opt/local/lib /sw/lib /usr/lib -Dperladmin=schwern@pobox.com -Dcf_email=schwern@pobox.com -Dmyhostname=windhund -Dmydomain=.schwern.org -Uinstallusrbinperl -des -DPERL_DONT_CREATE_GVSV' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-I/usr/local/include -I/opt/local/include -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include', optimize='-O3', cppflags='-no-cpp-precomp -I/usr/local/include -I/opt/local/include -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5493)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib -L/opt/local/lib -L/sw/lib -fstack-protector' libpth=/opt/local/lib /usr/lib libs=-lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-L/usr/local/lib -L/opt/local/lib -L/sw/lib -bundle -undefined dynamic_lookup -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API Built under darwin Compiled at Oct 17 2009 14:42:32 %ENV: PERL_AUTOINSTALL="--defaultdeps" @INC: /usr/local/lib/perl5/5.10.1/darwin-thread-multi-64int-ld-2level /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10/darwin-thread-multi-64int-ld-2level /usr/local/lib/perl5/site_perl .
Subject: Re: [rt.cpan.org #51431] Warnings from build with 64bit perl
Date: Wed, 11 Nov 2009 10:06:03 +0000
To: Michael G Schwern via RT <bug-devel-nytprof [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
On Wed, Nov 11, 2009 at 02:21:54AM -0500, Michael G Schwern via RT wrote: Show quoted text
> > Building trunk@895 with a 64 bit Perl I get some warnings, presumably > due to its 64bit-ness.
Due to -Duselongdouble. Thanks. Presumed fixed in r896. Tim.
Subject: Re: [rt.cpan.org #51431] Warnings from build with 64bit perl
Date: Thu, 12 Nov 2009 13:34:57 -0800
To: bug-devel-nytprof [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Tim Bunce via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=51431 > > > On Wed, Nov 11, 2009 at 02:21:54AM -0500, Michael G Schwern via RT wrote:
>> Building trunk@895 with a 64 bit Perl I get some warnings, presumably >> due to its 64bit-ness.
> > Due to -Duselongdouble. Thanks. Presumed fixed in r896.
Yep, thanks! -- Hating the web since 1994.