delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/18/16:27:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Mon, 18 Oct 1999 13:26:53 -0700
From: "Vasudevan, Gopal" <gopal DOT vasudevan AT lmco DOT com>
Subject: Help with bounds checker on g77 version 2.95
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Message-id: <7B07215DF838D211A4440000F81F066501CAEE66@emss01m09.ems.lmco.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2580.0)

Hi,

Is there some sort of size limitation on the object code produced with
-fbounds option.   When I compile with all the options listed except for
-fbounds, it compiles and executes without any problem.   But once I add in
the -fbounds option I get "reloc overflow" error.  Can someone help.   

Here is what happens when I compile with -fbounds option: 

g77 -v -fbounds-check -g -fdebug-kludge -Wall -O -fno-automatic
-fno-backslash -ff90 -malign-double -march=i586  -c xxx.f -o xxx.o
g77 version 2.95 19990728 (release) (from FSF-g77 version 0.5.25 19990728
(release))
Reading specs from d:\gcc.2.95\lib\gcc-lib\i386-mingw32\2.95\specs
gcc version 2.95 19990728 (release)
 d:\gcc.2.95\lib\gcc-lib\i386-mingw32\2.95\f771.exe xxx.f -quiet -dumpbase
xxx.f -malign-double -march=i586 -g -O -Wall -version -fversion
-fbounds-check -fdebug-kludge -fno-automatic -fno-backslash -ff90 -o
C:\TEMP\ccJdaaaa.s
GNU F77 version 2.95 19990728 (release) (i386-mingw32) compiled by GNU C
version 2.95 19990728 (release).
GNU Fortran Front End version 0.5.25 19990728 (release)
xxx.f: In subroutine `sxxx':
xxx.f:124: warning: unused variable `col_sz__'
 as -o xxx.o C:\TEMP\ccJdaaaa.s

g77 -v -fbounds-check -g -fdebug-kludge -Wall -O -fno-automatic
-fno-backslash -ff90 -malign-double -march=i586 -c yyy.f -o yyy.o
g77 version 2.95 19990728 (release) (from FSF-g77 version 0.5.25 19990728
(release))
Reading specs from d:\gcc.2.95\lib\gcc-lib\i386-mingw32\2.95\specs
gcc version 2.95 19990728 (release)
 d:\gcc.2.95\lib\gcc-lib\i386-mingw32\2.95\f771.exe yyy.f -quiet -dumpbase
yyy.f -malign-double -march=i586 -g -O -Wall -version -fversion
-fbounds-check -fdebug-kludge -fno-automatic -fno-backslash -ff90 -o
C:\TEMP\ccRdaaaa.s
GNU F77 version 2.95 19990728 (release) (i386-mingw32) compiled by GNU C
version 2.95 19990728 (release).
GNU Fortran Front End version 0.5.25 19990728 (release)
yyy.f: In subroutine `intsrf':
yyy.f:33: warning: unused variable `s3'
 as -o yyy.o C:\TEMP\ccRdaaaa.s

ld -r -o coded.o xxx.o yyy.o
ld: coded.o: reloc overflow: 0x1107c > 0xffff
coded.o: final close failed: File truncated
make: *** [coded.o] Error 1

Compilation exited abnormally with code 2 at Mon Oct 18 10:31:24

Thanks
Gopal Vasudevan


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019