Bug 100491 - perl 5.6.1 is not compiled with large file support
perl 5.6.1 is not compiled with large file support
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: perl (Show other bugs)
2.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chip Turner
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-22 17:32 EDT by Ulf Zimmermann
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-22 17:48:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ulf Zimmermann 2003-07-22 17:32:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.0.3705)

Description of problem:
The perl rpm which comes with AS 2.1 is not compile to support large files, 
this is a configure option. 



Version-Release number of selected component (if applicable):
perl-5.6.1-26.72.4

How reproducible:
Always

Steps to Reproduce:
1. Run the following perl program:

#!/usr/bin/perl

open(OUT, ">test2.5g.bin") or die "Can't open test2.5g.bin to write!\n";

$a = "";
for ($i = 0; $i < 1024; $i++) {
        $a = $a."A";
}

for ($i = 0; $i < 2621440; $i++) {
        print OUT $a;
        print "1K block #$i\r";
}
close(OUT);
print "\n\n";
    

Actual Results:  Program will core dump with:

Filesize limit exceeded (core dumped)

Created file is:

2099204 -rw-rw-r--    1 ulf      ulf      2147483647 Jul 22 14:31 test2.5g.bin

Tested as normal user (limit shows "filesize unlimited") and as root.


Expected Results:  Should create a 2.5GB file.

Additional info:
Comment 1 Chip Turner 2003-07-22 17:48:07 EDT
large file support breaks ABI compatibility.  this will not be enabled for RHEL
AS 2.1.  Future releases may support large files.

Note You need to log in before you can comment on or make changes to this bug.