Skip Menu |

This queue is for tickets about the optimize CPAN distribution.

Report information
The Basics
Id: 70828
Status: open
Priority: 0/
Queue: optimize

Owner: Nobody in particular
Requestors: rurban [...]

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)

Subject: optimize fails t/11-integer.t UV test 10
Download (untitled) / with headers
text/plain 2.7k
perl5.14.1d only: t/11-integer.t ... 1/10 # Failed test 'signed instead of unsigned' # at t/11-integer.t line 51. # got: '18446744073709551615' # expected: '-1' # Looks like you failed 1 test of 10. All other of my perls pass this test. Summary of my perl5 (revision 5 version 14 subversion 1) configuration: Platform: osname=darwin, osvers=10.8.0, archname=darwin-thread-debug uname='darwin air.local 10.8.0 darwin kernel version 10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386 ' config_args='-de -Dusedtrace -Dmksymlinks -DEBUGGING -Doptimize=-g3 - Duseithreads -Dcc=gcc-mp-4.6 -Accflags=-m64 -Duseshrplib -Dld=gcc-mp-4.6' hint=previous, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc-mp-4.6', ccflags ='-fno-common -DPERL_DARWIN -m64 -DDEBUGGING -fno- strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -m64', optimize='-g3', cppflags='-fno-common -DPERL_DARWIN -m64 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN - m64 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include - I/opt/local/include -m64' ccversion='', gccversion='4.6.1 20110325 (prerelease)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector - L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /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=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib - L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_TRACK_MEMPOOL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: export store_cop_label revert XSLoader B in BEGIN Carp-wo-B for compiler
Download (untitled) / with headers
text/plain 376b
Bisect reveals: v5.15.2-310-ge1dccc0 commit e1dccc0d34a90e3511bfed596be9d78128ca7ee7 Author: Zefram <> Date: Fri Sep 9 23:27:16 2011 +0100 remove index offsetting ($[) $[ remains as a variable. It no longer has compile-time magic. At runtime, it always reads as zero, accepts a write of zero, but dies on writing any other value. Cheers,
Download (untitled) / with headers
text/plain 384b
Now I see what you were seeing: -Duseithreads and -Uuselongdouble and -Umad is undertested. My bisect has been running vor two configs: -Duseithreads -Dmad and -Uuseithreads -Duselongdouble For both the bisect produced the same result. With this bisect run I also produced the first-ever pass on cpantesters for a threaded perl:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to