From owner-freebsd-ports@FreeBSD.ORG Sat May 3 15:44:25 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 8BB7337B401; Sat, 3 May 2003 15:44:25 -0700 (PDT) Date: Sat, 3 May 2003 17:44:25 -0500 From: Juli Mallett To: Kris Kennaway Message-ID: <20030503174425.A80219@FreeBSD.org> References: <20030502133348.A38483@FreeBSD.org> <20030503171759.A76719@FreeBSD.org> <20030503224036.GA17228@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030503224036.GA17228@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, May 03, 2003 at 03:40:36PM -0700 X-Title: Code Maven X-Towel: Yes X-Negacore: Yes X-Authentication-Warning: localhost: juli pwned teh intarweb cc: James Gosnell cc: freebsd-ports@FreeBSD.org 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 22:44:25 -0000 * Kris Kennaway [ Date: 2003-05-03 ] [ w.r.t. Re: Boehm GC update busted? ] > On Sat, May 03, 2003 at 05:17:59PM -0500, Juli Mallett wrote: > > Boehm GC update seems to be b?rken. Any thoughts? This is > > breaking Mono, and my ability to support it as such. > > > > I can't imagine that nothing else is affected. Is this due > > to some sort of c++ "features" added or such? "gxx" smacks > > of g++. > > > > (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' > > 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. 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. Thanx, juli. -- juli mallett. email: jmallett@freebsd.org; efnet: juli;