This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ftp://egcs.cygnus.com/pub/egcs/README
- To: Oleg Krivosheev <kriol at fnal dot gov>
- Subject: Re: ftp://egcs.cygnus.com/pub/egcs/README
- From: Oleg Krivosheev <kriol at fnal dot gov>
- Date: Wed, 18 Mar 1998 19:36:39 -0600 (CST)
- cc: egcs at cygnus dot com
Hi,
egcs 1.0.2 on Solaris 2.6/Sparc
created obj directory, ../src/configure --prefix ...
SUN as and ld
build went ok along with installation.
My code compiled with -g fails during linkage with bugs like
Undefined first referenced
symbol in file
overflow_error::overflow_error(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)/home/room1/kriol/work/Project/lib/sparc-sun-solaris-gcc/libGeometry.a(GeometryTracker.o)
checked obj file - and indeed constructor is UNDEFined.
from <stdexcept>:
class overflow_error : public runtime_error {
public:
overflow_error (const string& what_arg): runtime_error (what_arg) { }
};
looks like EGCS forgot to instantiate constructor body
in debug mode
regards
OK