[Bug 1268828] New: RFE: On 32 bit platforms, enable -Duse64bitint and maybe also -Duselongdouble

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 5 12:04:43 UTC 2015


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 at redhat.com
          Reporter: rjones at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at 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.


More information about the perl-devel mailing list