egcs 1.0.2 and octave 2.0.11 on Solaris 2.5.1 x86

Jim Wilson wilson@cygnus.com
Mon Mar 23 16:54:00 GMT 1998


	Then assorted error messages related to
	"Link gives 
	Undefined                       first referenced
	 symbol                             in file
	.L_E4709                            ../liboctave/liboctave.a(Quad.o)
	.L_E4729                            ../liboctave/liboctave.a(Quad.o)

This indicates a bug in the DWARF1 debug support for C++.

Gcc's DWARF1 support for C++ is not very good in general.  If you want to
debug C++ code, it is recommended that you use either STABS or DWARF2 instead.
Use of either alternative debug format probably requires using binutils,
and of course using gdb.

The dwarf1/C++ support however should not result in linker errors, so this
is something that we should fix if it hasn't already been fixed in the
snapshots.

Jim



More information about the Gcc-bugs mailing list