From owner-freebsd-ports Sat May 6 15:59:36 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 7DFA137B519 for ; Sat, 6 May 2000 15:59:33 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id PAA28590 for freebsd-ports@freebsd.org; Sat, 6 May 2000 15:59:09 -0700 Date: Sat, 6 May 2000 15:59:09 -0700 From: Arun Sharma To: freebsd-ports@freebsd.org Subject: How does C++ eh work for such KDE2 apps ? Message-ID: <20000506155908.A28585@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Konqueror core dumps on FreeBSD 4.0-stable because of the following problem: konqueror base doesn't use any C++ exceptions - so it doesn't link the exception handling code in libcc.a Subsequently, it loads libkhtml.so via dlopen(3). Code in libkhtml.so uses C++ exceptions, but doesn't find the exception handling support code in libgcc.a Now linking libkhtml.so with -lgcc doesn't do the trick. I get a core dump in __eh_rtime_match. I believe this is because some initializations did not happen for dlopen'ed code. Does anyone here have any insights on how to fix this ? Without this, konqueror is useless as a browser. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message