Bug 65462 - Can not load executable if LOADable sections (.text + .bss) large than 1Gb
Can not load executable if LOADable sections (.text + .bss) large than 1Gb
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: ld.so (Show other bugs)
7.2
i686 Linux
high Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-05-24 12:23 EDT by German Voronov
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-05-24 12:24:02 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 German Voronov 2002-05-24 12:23:56 EDT
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 13:20:08 EDT
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).

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