[Gc] GC_remap fails with ENOMEM on Linux with large (64K) pages.
munroesj at linux.vnet.ibm.com
Wed May 27 15:20:29 PDT 2009
On Wed, 2009-05-27 at 11:33 +0400, Ivan Maidanski wrote:
> 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
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
boehm-gc.c:266: error: for each function it appears in.)
boehm-gc.c:266: error: ‘on_gc_notification’ undeclared (first use in
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.
More information about the Gc