Subject: Re: C++ Exceptions
To: None <ctaylor@fox.nstn.ca>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 03/18/1997 15:22:05
>Date: Tue, 18 Mar 1997 08:02:53 -0400
>From: ctaylor@fox.nstn.ca (Christian Taylor)
>/var/tmp/cc0052051.o: Undefined symbol ^___register_exceptions' referenced
>from text segment
>/var/tmp/cc0052051.o: Undefined symbol ^___find_first_exception_table_match'
>referenced from text segment
>/var/tmp/cc0052051.o: Undefined symbol ^___unwind_function' referenced from
>text segment
>*** Error code 1
>I don't think there's any problems at all with my NetBSD or gcc/g++ setup,
>or my source code or makefile, since this all works find under Solaris. Do
>I need a certain library for exceptions to work?
This was a bug that was fixed in -current a while ago; you need to add
_eh.o to the OBJS list for libgcc, which lives somewhere under
src/gnu/usr.bin/gcc.
--
Mike Long <mike.long@analog.com> <URL:http://www.shore.net/~mikel>
VLSI Design Engineer finger mikel@shore.net for PGP public key
Analog Devices, CPD Division CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA (eq (opinion 'ADI) (opinion 'mike)) -> nil