Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2004 12:00:28 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Miguel Mendez <flynn@energyhq.es.eu.org>
Cc:        "Joseph A. Golkosky" <jagolkosky@megapathdsl.net>
Subject:   Re: Making and Installing Mono 0.30.1 on FreeBSD 5.1
Message-ID:  <1078765227.776.1.camel@gyros>
In-Reply-To: <1078760823.62535.4.camel@scienide.energyhq.es.eu.org>
References:  <5.1.0.14.0.20040308095039.00a78da0@mail.megapathdsl.net> <1078760823.62535.4.camel@scienide.energyhq.es.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-XVbghsP1RYBzPG27/36Z
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-03-08 at 10:47, Miguel Mendez wrote:
> On Mon, 2004-03-08 at 16:54, Joseph A. Golkosky wrote:
>=20
> > mono-0.30.1 is marked as broken: Unknown component pkgconfig.
> >=20
> > What is going on here? Is there a way that I can get it to work? I can =
get=20
> > mono 0.24 working just fine. However, I need to have a more recent vers=
ion=20
> > of mono running on my system as I would like to do a port of mod_mono o=
nto=20
> > FreeBSD, and the available sources are only compatible with more recent=
=20
> > versions on mono.
>=20
> I've been playing around with it on my 5.2.1 box. Both the supplied GC
> and the external boehmgc fail to work. A trivial hello world program
> works, but nothing more complicated than that. I'm not sure why, the
> problem is in misc.c, but it's not easy to debug. Seems like an endless
> recursion in the garbage collector and/or stack corruption. If you want
> to give debugging a go you can try this:

Yes, that's exactly right.  There is an endless recursion bug.  Note: if
I increase thread stack size to 512 MB, I can eventually get programs to
run, but they are unbelievably slow, and this is not a solution by any
stretch of the imagination.

>=20
> cd /usr/ports/lang/mono ; env CFLAGS=3D"-g" STRIP=3D"" make install (don'=
t
> clean)
> cd /usr/ports/x11-toolkits/gtk-sharp; make build
> gdb `which mono` $WRKSRC/parser/mono.core
>=20
> Let the fun begin, as the offending line is '{' :-)

I believe the stack is being corrupted big-time.

Joe

>=20
> Cheers,
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-XVbghsP1RYBzPG27/36Z
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBATKarb2iPiv4Uz4cRAojIAJ9kKjlQx83d0dNRWRurPg6B/XZhWACgiTAv
VNfrEKPvz+PxcIK0Kog6QNs=
=zTJQ
-----END PGP SIGNATURE-----

--=-XVbghsP1RYBzPG27/36Z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1078765227.776.1.camel>