From owner-freebsd-hackers Thu Jan 2 23:26:21 2003 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 EF54C37B401 for ; Thu, 2 Jan 2003 23:26:19 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4216E43EC5 for ; Thu, 2 Jan 2003 23:26:19 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h037QF1e034547; Fri, 3 Jan 2003 00:26:15 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 03 Jan 2003 00:25:38 -0700 (MST) Message-Id: <20030103.002538.27949584.imp@bsdimp.com> To: kientzle@acm.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: devd, crunchgen, C++, and /rescue From: "M. Warner Losh" In-Reply-To: <3E151EB7.2050003@acm.org> References: <3E134AB2.8030401@acm.org> <20030102.195102.106545644.imp@bsdimp.com> <3E151EB7.2050003@acm.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <3E151EB7.2050003@acm.org> Tim Kientzle writes: : devd.lo: In function `event_proc::~event_proc()': ... : This one has me stumped. Any ideas? I'm not. event_proc::~event_proc() is really one of the following: 00000180 T event_proc::~event_proc [in-charge deleting]() 00000100 T event_proc::~event_proc [in-charge]() 00000080 T event_proc::~event_proc [not-in-charge]() which aren't what they seem either: 00000180 T _ZN10event_procD0Ev 00000100 T _ZN10event_procD1Ev 00000080 T _ZN10event_procD2Ev Which gives crunchgen fits, I'm guessing. crunchgen is likely changing them to something like: 00000180 T devd_ZN10event_procD0Ev or 00000180 T devd__ZN10event_procD0Ev So I'd say that crunchgen doesn't grok c++ mangled symbols, which isn't that surprising... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message