Skip Menu |

This queue is for tickets about the Devel-Size CPAN distribution.

Report information
The Basics
Id: 21404
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Devel-Size

People
Owner: TELS [...] cpan.org
Requestors: nospam-abuse [...] bloodgate.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.64
Fixed in: 0.66



Subject: fails on v5.8.8 built for x86_64-linux-thread-multi
# perl Makefile.PL && make test && make install Checking if your kit is complete... Looks good Writing Makefile for Devel::Size cp Size.pm blib/lib/Devel/Size.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Size.xs > Size.xsc && mv Size.xsc Size.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Size.c Size.xs: In function ‘cc_opclass’: Size.xs:43: warning: suggest parentheses around assignment used as truth value Size.xs: In function ‘thing_size’: Size.xs:515: warning: suggest parentheses around assignment used as truth value Size.xs:518: warning: suggest parentheses around assignment used as truth value Size.xs:521: warning: suggest parentheses around assignment used as truth value Size.xs:524: warning: suggest parentheses around assignment used as truth value Size.xs:527: warning: suggest parentheses around assignment used as truth value Size.xs:530: warning: suggest parentheses around assignment used as truth value Size.xs: In function ‘XS_Devel__Size_total_size’: Size.xs:696: warning: suggest parentheses around assignment used as truth value Size.xs:712: warning: suggest parentheses around assignment used as truth value Size.xs:647: warning: unused variable ‘count’ Running Mkbootstrap for Devel::Size () chmod 644 Size.bs rm -f blib/arch/auto/Devel/Size/Size.so cc -shared -L/usr/local/lib64 Size.o -o blib/arch/auto/Devel/Size/Size.so \ \ chmod 755 blib/arch/auto/Devel/Size/Size.so cp Size.bs blib/arch/auto/Devel/Size/Size.bs chmod 644 blib/arch/auto/Devel/Size/Size.bs PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic....FAILED tests 2-3 Failed 2/8 tests, 75.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/basic.t 8 2 25.00% 2-3 Failed 1/1 test scripts, 0.00% okay. 2/8 subtests failed, 75.00% okay. make: *** [test_dynamic] Error 255
Subject: Re: [rt.cpan.org #21404] AutoReply: fails on v5.8.8 built for x86_64-linux-thread-multi
Date: Sat, 9 Sep 2006 18:57:34 +0200
To: bug-Devel-Size [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
Download (untitled)
application/pgp-signature 481b

Message body not shown because it is not plain text.

Moin, the attached patch makes the tests pass again (the difference in size between the two SVs was masked because with 64 bit, data is allocated in bigger chunks, resulting in an equal size) and also provides better diagnostics in case the tests fail again. It does not make the compiler warnings go away, tho. Best wishes, Tels -- Signed on Sat Sep 9 18:54:14 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Memory is like an orgasm. It's a lot better if you don't have to fake it." -- Seymore Cray, on virtual memory

Message body is not shown because sender requested not to inline it.

Resolved in v0.65. Thank you for your report.