This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
relocation errors
- From: "Huliyar Nataraj" <hsnataraj at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 25 Feb 2007 21:54:25 +0530
- Subject: relocation errors
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XtPIjG6O53JTYZN0IhyoQEBfwmCSy4ezsTwKmR2UiyLTKFQEFw++RBbs9KNbkkoafnr+F4Up50ZDfSHiDR8Zo5SjqB3t40iZ2XtVu+LkFpow1eoJnGyD2svls4iNqbzzYDyZfIkpa3xb/+gabiJVE1WfqpogFCFN1ZaT0qmFHfw=
Dear Sir,
I am using a 64-bit AMD apteron cluster with 8 GB RAM (RHEL platform).
I face "relocation overflow" and "relocation truncated to fit errors"
when I compile big fortran 77 codes using f77/g77 (even with ifort and
pathf95) on it. Though it compiles successfully it cannot assemble or
link the executables. I understand this may be because of large arrays
or so. But the executable size is not more than 2GB. so I could not
run my codes with large dimensions.
Can you please tell me what options I can use while compiling these
kind of codes. Sometimes, ulimit command or -m32 option worked but
when I run the executable it simply dumps the core. Please suggest me
what can I do to get rid of these problems?.
Note:
The gcc version I am using is gcc-3.2.3-42
Thanks in advance.
--
====================================
H.S.Nataraj,
Senior Research Fellow,
Indian Institute of Astrophysics,
II Block, Koramangala,
Bangalore, India - 560034
Telephone : +9180-25530672 extn:273
+91 9449658397 (mobile)
Fax : +91 80 25534043
Webpage :
http://www.iiap.res.in/personnel/nataraj/
====================================