From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 20 16:49:23 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E46816A4C2; Mon, 20 Oct 2003 16:49:23 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E5843F3F; Mon, 20 Oct 2003 16:49:21 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 7A2A766DA5; Mon, 20 Oct 2003 16:49:21 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 2DEDDCF4; Mon, 20 Oct 2003 16:49:21 -0700 (PDT) Date: Mon, 20 Oct 2003 16:49:21 -0700 From: Kris Kennaway To: Robert Collins Message-ID: <20031020234921.GA61811@rot13.obsecurity.org> References: <200310170621.h9H6LmGr068865@freefall.freebsd.org> <1066644745.955.10.camel@localhost> <20031020184333.GA60464@rot13.obsecurity.org> <1066688170.6183.111.camel@localhost> <20031020233619.GB61627@rot13.obsecurity.org> <1066693295.6189.125.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <1066693295.6189.125.camel@localhost> User-Agent: Mutt/1.4.1i cc: Kris Kennaway cc: freebsd-bugs@FreeBSD.org cc: Kris Kennaway Subject: Re: gnu/58099: g++ -fhuge-objects on ix86 coredumps upon use of std::ostringstream X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 23:49:23 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 21, 2003 at 09:41:35AM +1000, Robert Collins wrote: > On Tue, 2003-10-21 at 09:36, Kris Kennaway wrote: > > On Tue, Oct 21, 2003 at 08:16:10AM +1000, Robert Collins wrote: > > > On Tue, 2003-10-21 at 04:43, Kris Kennaway wrote: > > >=20 > > > > Which binary packages, the package for the gcc ports? Nothing spec= ial > > > > is done for package builds, beyond what is in the port. Can you be > > > > specific about why you think this is a port error? > > >=20 > > > Because every c++ library in the distribution needs to be built with = all > > > permutations of ABI breaking options. The libstdc++ library is just t= he > > > first one. If you don't want to face doing this, then having > > > -fhuge-objects always on is a reasonable workaround. > >=20 > > Won't this break compatibility with all existing users of C++ > > packages? That would be a deal-breaker. >=20 > The workaround would. Doing the 'right thing', building a libstdc++ with > -fhuge-objects, and editing the spec file to use it IFF -fhuge-objects > was passed to g++ won't break anything. Talk to kan@FreeBSD.org (maintainer of the base system gcc code). I'm not sure of your chances of getting two libstd++'s built - the likely answer is that if you want to compile ports with ABI-incompatible gcc options, you should also compile the base system (hence libstd++) with the same5D options. Kris --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lHSAWry0BWjoQKURAp/jAJ0VwM6oWeLu3vcHLsw9RvfiDhydhQCfTLkq MTYAu0VlKvxl8Lp7hPZxIM0= =tlDl -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--