*BSD News Article 91535


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!mindspring!psinntp!news.nstn.ca!ts3-09.knt.istar.ca!user
From: "Christian Taylor" <ctaylor@fox.nstn.ca>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: C++ Exceptions
Date: Tue, 18 Mar 1997 17:52:53 -0400
Organization: Nova Scotia Technology Network
Lines: 30
Message-ID: <ctaylor-1803971752530001@ts3-09.knt.istar.ca>
References: <ctaylor-1803970800010001@ts2-08.knt.istar.ca> <tjsp1tb2vk.fsf@beauty.cygnus.com>
NNTP-Posting-Host: ts3-09.knt.istar.ca
X-Newsreader: Microsoft Internet Mail and News for Macintosh - 1.1 (34)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5670

In article <tjsp1tb2vk.fsf@beauty.cygnus.com>, jtc@beauty.cygnus.com (J.T.
Conklin) wrote:

>"Christian Taylor" <ctaylor@fox.nstn.ca> writes:
>> I have a problem with C++ exceptions under NetBSD.  The code I have works
>> perfectly under Solaris, but it won't link under NetBSD.  The errors
>> reported seem to be about exceptions, so I think I'm missing a library or
>> something.  The error output is as follows:
>
>Those are missing functions from libgcc.a which are not currently
>included in our version.  
>
>However g++ exceptions work poorly (if at all) in the current 2.7.X
>release.  There is work in progress to make this better in the next
>gcc/g++ release. Until the core functionality works, there is little
>benefit to providing those functions.
>
>        --jtc


Exceptions seem to work with no problems with g++ 2.7.2 under Solaris.  Is
it somehow a NetBSD specific problem?  If not, I don't see why those
functions aren't included if it works fine under Solaris.  I would really
like this code to work, but I'd have to totally rework it if I want to take
out the exceptions.  Is there anything I can do, besides waiting for the
next release of g++?

Thanks,

 -=Christian=-