From owner-freebsd-hackers Thu Sep 14 14:38:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 9A36137B423 for ; Thu, 14 Sep 2000 14:38:17 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id OAA05902; Thu, 14 Sep 2000 14:36:56 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id OAA02870; Thu, 14 Sep 2000 14:36:55 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Thu, 14 Sep 2000 14:36:55 -0700 (PDT) Message-Id: <200009142136.OAA02870@vashon.polstra.com> To: hackers@freebsd.org Cc: fjoe@iclub.nsu.ru Subject: Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1 In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Max Khon wrote: > libgcc already has support for DWARF2. the only thing that should be > changed is crtbegin.o/crtend.o. Yes. > I have made all the necessary patches for this. I believe, David has > them. Actually I now think we should simply build the crt* files from gcc's "crtstuff.c" in the standard way, rather than having our own versions. The gcc versions are messy but they work fine, and they are specifically exempted from the GPL as long as they are used together with gcc. There are some potential problems with backward compatibility when making this change, but we need to do it anyway. The performance penalty from the sjlj exceptions is really terrible. I think I decided that using a shared libgcc would help with the compatibility issues when I looked at the problem a long time ago. But I can't remember the details any more. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message