Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Content-return: allowed Date: Mon, 18 Oct 1999 13:26:53 -0700 From: "Vasudevan, Gopal" Subject: Help with bounds checker on g77 version 2.95 To: "'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) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT 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