[Gc] Absurd stack bottom value on ARM

Michael Starzinger michi at complang.tuwien.ac.at
Sat Mar 21 08:22:42 PST 2009


Hello!

On 17.03.2009, at 00:14, Boehm, Hans wrote:
> I think this assertion used a fairly arbitrary value in order to  
> catch cases in which we misunderstood the /proc/self/stat format or  
> the like.  Since we now have a reason to be less arbitrary, I'd  
> suggest chopping two zeroes off the constant in the test.  A value  
> of less than a megabyte would be really suspicious, since it  
> wouldn't give us much room for a downward-growing stack, and we have  
> reasons to believe that the only platform with upward-growing stacks  
> (PA-RISC) doesn't do this either.
>
> I'll apply this patch to the CVS tree.

Thanks for your quick fix, I cherry-picked the patch into the CACAO  
source tree [1]. Hopefully we will get a response from the reporter or  
someone else with access to an Openmoko Freerunner. Bug is closed.

References:
[1] http://mips.complang.tuwien.ac.at/hg/cacao/rev/68bdfa8ea857

-michi



More information about the Gc mailing list