g77 Bug

Hodson Douglas D Civ ASC/HPMT Douglas.Hodson@wpafb.af.mil
Tue Jun 26 06:16:00 GMT 2001


I think I found a bug in g77.

I discovered it after recently installing RedHat 7.1 on my system. I am using version 0.5.24 of g77.

Basically the problem is this:

If I use the "-g3" option on the command line for compiling, no symbol table is generated for the object file. I'm using "nm" to view it. If I then try to link the created object file with other code, the linker has problems for obvious reasons.

If I instead use "-g2", a symbol table is generated and all works as expected...

Thanks,
Doug



More information about the Gcc-bugs mailing list