Description of problem: The file-offset field of the mmap() system call is being truncated to 32-bits, even in programs that are compiled with all the LARGEFILE support. Version-Release number of selected component (if applicable): How reproducible: consistently Steps to Reproduce: build the attached testcase on IA-32 machine and run it on IPF machine with ia32el enabled. Actual results: the actual output is "Start-of-file". Expected results: the expected output should be "Four-GBytes!!". Additional info:
Created attachment 106278 [details] testcase to demonstrate the problem of mappinga LARGFILE
Created attachment 106279 [details] fixes the problem with mmap'ing large files
same problem with ia32el that goes with EL3 U4
Should be fixed in ia32el-1.1-9 (RHEL4) and ia32el-1.1-8.EL3 (RHEL3 U4).
Fix confirmed on RHEL4 with ia32el-1.1-9.