Greetings! The relevant code is in alloc.c:
#ifdef GCL_GPROF extern void *GCL_GPROF_START; long textpage=2*((void *)&etext-(void *)&GCL_GPROF_START)/PAGESIZE,t1=2*((void *)&etext-(void *)GCL_GPROF_START)/PAGESIZE; textpage=t1>0 && (textpage<0 || t1<textpage) ? t1 : textpage; #endif GCL_GPROF_START is determined at configure time, and is usually _start. This is a heuristic to get an idea of how much memory needs to be available to satisfy the first monstartup call (should roughly be twice the size of the .text section). It appears these variables do not have their normal meaning on your system. Could you investigate and report back? Take care, ============================================================================= Hi. When compiling 2.6.7 on a Gentoo G4 with --enable-gprof: /var/tmp/portage/gcl-2.6.7/work/gcl-2.6.7/unixport/raw_pre_gcl /var/tmp/portage/gcl-2.6.7/work/gcl-2.6.7/unixport/ -libdir /var/tmp/portage/gcl-2.6.7/work/gcl-2.6.7/ < foo allocating 1692584-byte contiguous block... allocating 1474723840-byte contiguous block... Unrecoverable error: GBC is not enabled. How to determine how alloc_contblock being called with such values? ============================================================================= _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel