[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Failure on Gentoo ppc with --enable-gprof
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Failure on Gentoo ppc with --enable-gprof |
Date: |
Tue, 05 Dec 2006 18:51:22 -0500 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) |
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?
=============================================================================