This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ftp://egcs.cygnus.com/pub/egcs/README



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]