Date: Sat, 3 May 2003 15:40:36 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Juli Mallett <jmallett@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: Boehm GC update busted? Message-ID: <20030503224036.GA17228@rot13.obsecurity.org> In-Reply-To: <20030503171759.A76719@FreeBSD.org> References: <Sea1-F160FXfyY0QUUB0000a1eb@hotmail.com> <20030502133348.A38483@FreeBSD.org> <Sea1-DAV45rSByh133t0000af34@hotmail.com> <20030503171759.A76719@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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++. >=20 > (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. Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+tEVkWry0BWjoQKURAoEzAJ9wVcZi5+DXJsBg2K7I1QeBV+BX8ACfdX1I Re0dizdbSKGRiTTf0EPDlaY= =4JZ2 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030503224036.GA17228>