https://bugzilla.redhat.com/show_bug.cgi?id=1268828
Bug ID: 1268828 Summary: RFE: On 32 bit platforms, enable -Duse64bitint and maybe also -Duselongdouble Product: Fedora Version: rawhide Component: perl Assignee: jplesnik@redhat.com Reporter: rjones@redhat.com QA Contact: extras-qa@fedoraproject.org CC: cweyl@alumni.drew.edu, iarnell@gmail.com, jplesnik@redhat.com, kasal@ucw.cz, perl-devel@lists.fedoraproject.org, ppisar@redhat.com, psabata@redhat.com, rc040203@freenet.de, tcallawa@redhat.com
Description of problem:
Perl on Fedora 32 bit platforms uses 32 bit ints, and on 64 bit platforms uses 64 bit ints.
This causes some problems when we express size-in-bytes in some programs -- it is easy for these kind of programs to work fine on the common 64 bit platform, but to fail to work in bad ways (rounding errors or overflows) on 32 bit. Since 32 bit is comparatively rare, these bugs can go unnoticed. An example of a program that will fail like this is: http://git.annexia.org/?p=import-to-ovirt.git;a=tree
Also, Debian (since Wheezy) has enabled this option, so by making this change we would be consistent with Debian & Ubuntu. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310995
Some pros and cons described here:
http://www.nntp.perl.org/group/perl.perl5.porters/2010/04/msg158984.html
There is also interaction with another option (-Duselongdouble).
Version-Release number of selected component (if applicable):
perl-5.22.0-350.fc24