From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 9 09:59:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFAE16A4BF for ; Tue, 9 Sep 2003 09:59:02 -0700 (PDT) Received: from mailgate.sri.com (mailgate.SRI.COM [128.18.243.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E54B43FD7 for ; Tue, 9 Sep 2003 09:59:01 -0700 (PDT) (envelope-from gilham@csl.sri.com) Received: (qmail 3310 invoked from network); 9 Sep 2003 16:58:50 -0000 Received: from unknown (HELO mailgate.SRI.COM) (127.0.0.1) by mailgate.sri.com with SMTP; 9 Sep 2003 16:58:50 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by mailgate.SRI.COM (SAVSMTP 3.1.0.29) with SMTP id M2003090909585014421 for ; Tue, 09 Sep 2003 09:58:50 -0700 Received: from snapdragon.csl.sri.com (snapdragon.csl.sri.com [130.107.19.20]) by quarter.csl.sri.com (8.12.9/8.12.9) with ESMTP id h89GwoFv003456 for ; Tue, 9 Sep 2003 09:58:50 -0700 Message-Id: <200309091658.h89GwoFv003456@quarter.csl.sri.com> To: freebsd-hackers@freebsd.org In-Reply-To: Message from "M. Warner Losh" <20030908.180101.71186801.imp@bsdimp.com> Date: Tue, 09 Sep 2003 09:58:50 -0700 From: Fred Gilham Subject: Re: C++ code in a kernel module? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 16:59:02 -0000 > I don't know about __gxx_personaility_v0, but your best bet is to > look at the .o's and find where it is referenced. Then back track > it to what function, then to what construct and go from there. The __gxx_personality_v0 stuff is actually related to distinguishing between C++ and Java exceptions. At least that's what I remember from my encounters with the same problem. I haven't been able to retrieve the documentation that explains it, though. It seems to come up when you try to link C++ code with the C linking convention. -- Fred Gilham gilham@csl.sri.com Lisp has jokingly been called "the most intelligent way to misuse a computer". I think that description is a great compliment because it transmits the full flavor of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts. E. Dijkstra