From owner-freebsd-ports@FreeBSD.ORG Sat May 3 16:06:19 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E69CA37B409; Sat, 3 May 2003 16:06:19 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-172.dsl.lsan03.pacbell.net [67.115.75.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECBD43F75; Sat, 3 May 2003 16:06:18 -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 2619966B9B; Sat, 3 May 2003 16:06:18 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id F3D321568; Sat, 3 May 2003 16:06:17 -0700 (PDT) Date: Sat, 3 May 2003 16:06:17 -0700 From: Kris Kennaway To: Juli Mallett Message-ID: <20030503230617.GA17414@rot13.obsecurity.org> References: <20030502133348.A38483@FreeBSD.org> <20030503171759.A76719@FreeBSD.org> <20030503224036.GA17228@rot13.obsecurity.org> <20030503174425.A80219@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20030503174425.A80219@FreeBSD.org> User-Agent: Mutt/1.4i cc: James Gosnell cc: nobutaka@FreeBSD.org cc: freebsd-ports@FreeBSD.ORG cc: Kris Kennaway Subject: Re: Boehm GC update busted? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 23:06:20 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 03, 2003 at 05:44:25PM -0500, Juli Mallett wrote: > > > (jmallett@dalek:~/Work/MonoHaq/mono)16% cat _.c > > > void main() { GC_malloc(); } > > > (jmallett@dalek:~/Work/MonoHaq/mono)17% cc _.c -L/usr/local/lib -lgc > > > _.c: In function `main': > > > _.c:1: warning: return type of `main' is not `int' > > > /usr/local/lib/libgc.so: undefined reference to `__gxx_personality_v0' > >=20 > > This indicates that there is C++ code that is trying to be linked with > > the C library. This usually means that you have to use g++ to link > > the binary instead of gcc. >=20 > It wasn't this case until the _1 portrevision of the most recent > thing, from what I saw in my pkg_info before and after an upgrade > to check a user's problem report. Is it going to be this way for > good? I suspect POLA damage, but in any case, if this is the > accepted truth of the matter, can we get a knob for things using > boehm to use c++ for CC? I'm not too keen on the idea in any > case, but something other than mungeing ports using boehm would > seem more appealing. It looks like this is going to affect other ports as well. e.g. http://bento.freebsd.org/errorlogs/i386-5-latest/gale-0.99e.log nobutaka, can you please investigate? Kris --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+tEtpWry0BWjoQKURAngzAJ4+/lhYfstmS9868CNnV827tBHawgCglyFS TgaGwXr0XAVbTTMIeW4F7VM= =bx5J -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--