Bug 100491 - perl 5.6.1 is not compiled with large file support
Summary: perl 5.6.1 is not compiled with large file support
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: perl
Version: 2.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-22 21:32 UTC by Ulf Zimmermann
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2003-07-22 21:48:07 UTC


Attachments (Terms of Use)

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.


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