This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Help with bounds checker on g77 version 2.95
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: Help with bounds checker on g77 version 2.95
- From: "Vasudevan, Gopal" <gopal dot vasudevan at lmco dot com>
- Date: Mon, 18 Oct 1999 13:26:53 -0700
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@sourceware.cygnus.com