Bug 65462

Summary: Can not load executable if LOADable sections (.text + .bss) large than 1Gb
Product: [Retired] Red Hat Linux Reporter: German Voronov <german_voronov>
Component: ld.soAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-24 16:24:02 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 German Voronov 2002-05-24 16:23:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; Hotbar 3.0)

Description of problem:
The following program produces segmentation fault error.

      PROGRAM SHALOW 
      DOUBLE PRECISION U
      COMMON U(120 000 000)
C      COMMON U(117 000 000)
C      dimension U(120 000 000)
C
      WRITE(6,*) ' SPEC benchmark swim'
      END
Was used Intel Fortran compiler 7.0
Was tested on dual P3 system with 4Gb RAM (RH7.2)


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


How reproducible:
Always

Steps to Reproduce:
1.install Intel Fortran 7.0
2.compile the code from decription:
ifc tst.f -otst.exe
3.run executable:
./tst.exe

	

Additional info:

Comment 1 Jakub Jelinek 2002-05-24 17:20:08 UTC
Yes, that's expected. Use -static or allocate it dynamically.
Or you can of course recompile your kernel with TASK_UNMAPPED_BASE changed
in include/asm-i386/processor.h.
The default is 0x40000000 and that's where kernel starts allocating
mmap areas unles they are fixed (and mapping dynamic linker by the kernel
is not fixed).
Alternatively, you could prelink -r the dynamic linker to say 0x80000000
(prelink was included in preview/ dir in 7.2).