Subject: Exceptions on NetBSD?
To: None <port-mac68k@NetBSD.ORG, current-users@NetBSD.ORG>
From: Chris Mason <cmason@ros.res.cmu.edu>
List: port-mac68k
Date: 05/08/1997 00:11:37
I'm having some trouble getting some code with exceptions to link.  I've
enabled exceptions in g++ with -fhandle-exceptions.  It compiles fine, but at
link time I get this garbage:

/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol
`_enqueue__t10priority_q1ZPcPcG8priority' referenced from text segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `_dequeue_max__t10priority_q1ZPc'
referenced from text segment
/var/tmp/cc0092891.o: Undefined symbol `__$_t10priority_q1ZPc' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `___throw_type_match' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `__$_t10priority_q1ZPc' referenced from
text segment
/var/tmp/cc009289fined symbol `__$_t10priority_q1ZPc' referenced from text
segment
/var/tmp/cc0092891.o: Undefined symbol `___register_exceptions' referenced
from text segment
/var/tmp/cc0092891.o: Undefined symbol `___find_first_exception_table_match'
referenced from text segment
/var/tmp/cc0092891.o: Undefined symbol `___unwind_function' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `___lt__8priorityT0' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `___gt__8priorityT0' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `___eq__8priorityT0' referenced from
text segment
/var/tmp/cc0092891.o: Undefined symbol `__vt$8priority' referenced from text
segment
[snip]


What's the status of exceptions under NetBSD?  Am I doing something wrong?

Thanks in advance.

-c
 _____________________________________________________________________
|Chris Mason - cmason@cmu.edu  cmason@nyx.net  http://ros.res.cmu.edu |
|"You can always count on a murderer for a fancy prose style."-Nabokov|
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~