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: jples...@redhat.com
          Reporter: rjo...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: cw...@alumni.drew.edu, iarn...@gmail.com,
                    jples...@redhat.com, ka...@ucw.cz,
                    perl-devel@lists.fedoraproject.org, ppi...@redhat.com,
                    psab...@redhat.com, rc040...@freenet.de,
                    tcall...@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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to