[Gc] GC_remap fails with ENOMEM on Linux with large (64K) pages.
vargaz at gmail.com
Wed May 27 15:22:35 PDT 2009
This is because mono uses a patched version of libgc with many small
by us. So a simple replacement will not work.
On Thu, May 28, 2009 at 12:20 AM, Steven Munroe <munroesj at linux.vnet.ibm.com
> On Wed, 2009-05-27 at 11:33 +0400, Ivan Maidanski wrote:
> > Hi!
> > munroesj at us.ibm.com wrote:
> > > We are trying to use mono 64-bit on SLES11 PowerPC. We are seeing lots
> > > of failures of the form:
> > >
> > > Mprotect failed at 0x40002790000 (length 131072) with errno 12
> > >
> > It seems that You're using gc v7.1 (or prior). This portion of code is
> changed a lot (eg., mmap() is used instead of mprotect() here). Could You,
> please, try to reproduce the problem with the recent CVS version.
> Looks like mono is using Version 6.6 (even in their current svc). So a
> simple replacement of libgc is not possible with mono-2.4. I get the
> following error:
> boehm-gc.c:238: error: expected ‘)’ before ‘event’
> boehm-gc.c: In function ‘mono_gc_enable_events’:
> boehm-gc.c:266: error: ‘GC_notify_event’ undeclared (first use in this
> function)boehm-gc.c:266: error: (Each undeclared identifier is reported
> only once
> boehm-gc.c:266: error: for each function it appears in.)
> boehm-gc.c:266: error: ‘on_gc_notification’ undeclared (first use in
> this function)
> boehm-gc.c:267: error: ‘GC_on_heap_resize’ undeclared (first use in this
> It seems that GCEventType is no longer defined and there is no obvious
> equivalent to try.
> Gc mailing list
> Gc at linux.hpl.hp.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gc