From owner-freebsd-stable Mon Dec 18 14:24:43 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 18 14:24:41 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from moon.harmonic.co.il (moon.harmonic.co.il [192.116.140.65]) by hub.freebsd.org (Postfix) with ESMTP id 16FEF37B400; Mon, 18 Dec 2000 14:24:36 -0800 (PST) Received: (from nobody@localhost) by moon.harmonic.co.il (8.9.3/8.9.3) id AAA13738; Tue, 19 Dec 2000 00:22:32 +0200 To: Daniel Eischen Subject: Re: mozilla and 4.2-RELEASE Message-ID: <977178152.3a3e8e28b72ff@webmail.harmonic.co.il> Date: Tue, 19 Dec 2000 00:22:32 +0200 (IST) From: Roman Shterenzon Cc: obrien@FreeBSD.ORG, Max Khon , freebsd-stable@FreeBSD.ORG References: <200012172336.SAA02002@pcnet1.pcnet.com> <977175292.3a3e82fcc5d68@webmail.harmonic.co.il> In-Reply-To: <977175292.3a3e82fcc5d68@webmail.harmonic.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.2 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting Roman Shterenzon : > Quoting Daniel Eischen : > > =================================================================== > > RCS file: /opt/b/CVS/src/gnu/lib/libstdc++/Makefile,v > > retrieving revision 1.25 > > diff -u -r1.25 Makefile > > --- Makefile 2000/06/04 06:56:22 1.25 > > +++ Makefile 2000/12/16 21:05:38 > > @@ -14,7 +14,7 @@ > > CXXFLAGS+= -I${SRCDIR}/stl -I${SRCDIR} -I${SRCDIR}/../gcc/cp/inc -I. > > CXXFLAGS+= -nostdinc++ -fno-implicit-templates > > > > -LDADD+= -lm > > +LDADD+= -lm -nostdlib > > DPADD+= ${LIBM} > > > > HDRS= cassert cctype cerrno cfloat ciso646 climits clocale cmath > > complex \ > > > > > > It would be interesting to see if this fixes the Mozilla problem > > also. > > I backed out obrien's patch (I don't know yet if it works with it), > then, I merged Daniel's patch, buildworld, installworld, and now mozilla > works (after I recompiled it). > *BUT* c++ binaries compiled on 4.2 fail, for example, starting xfstt > gives me: > > lancelot:/home/roman% xfstt > /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol > "__ti9exception" > > However, I verified, 4.1 (perhaps 4.1.1?) c++ binaries, for example - > mozilla, > work ok with this patch in place. > > I.e. I believe that only c++ binaries built under 4.2 will be broken. > > Where do we go from here? Anything else I can try? > BTW, I needed my xfstt, so I kept the old binary and rebuilt it, now it works. I only noticed that the new binary is 20k (19.5k) larger than the previous one. What does -nostdlib flag do to libstdc++ again? --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message