Bug 100491

Summary: perl 5.6.1 is not compiled with large file support
Product: Red Hat Enterprise Linux 2.1 Reporter: Ulf Zimmermann <ulf>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-22 21:48:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ulf Zimmermann 2003-07-22 21:32:46 UTC
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 21:48:07 UTC
large file support breaks ABI compatibility.  this will not be enabled for RHEL
AS 2.1.  Future releases may support large files.