[Gc] segfault on arm

Boehm, Hans hans.boehm at hp.com
Wed Jul 27 14:36:17 PDT 2005


Thanks.  I put it in my source trees.

Hans

> -----Original Message-----
> From: Christian Thalinger [mailto:twisti at complang.tuwien.ac.at] 
> Sent: Wednesday, July 27, 2005 2:18 PM
> To: Boehm, Hans
> Cc: gc at napali.hpl.hp.com
> Subject: RE: [Gc] segfault on arm
> 
> 
> On Wed, 2005-07-27 at 10:54 -0700, Boehm, Hans wrote:
> > If I had to make a really wild guess, I'd suggest defining 
> > LINUX_STACKBOTTOM instead of HEURISTIC1 (and STACK_GRAN) in the 
> > ARM32/LINUX section in gcconfig.h.  But then the comment 
> next to the 
> > DATASTART definition in the same file starts with "hideous 
> kludge:", 
> > so that might also be worth checking.
> 
> Exactly. This small patch fixes the issue and GCBench runs 
> without a problem with CACAO. Thanks.
> 
> TWISTI
> 
> Index: include/private/gcconfig.h 
> ===================================================================
> RCS
> file: 
> /nfs/ahome/cacao/cacaocvs/cacao/src/boehm-gc/include/private/g
> cconfig.h,v
> retrieving revision 1.4
> diff -u -3 -p -r1.4 gcconfig.h
> --- include/private/gcconfig.h  27 Jun 2005 19:55:40 -0000      1.4
> +++ include/private/gcconfig.h  27 Jul 2005 20:53:51 -0000
> @@ -1784,7 +1784,7 @@
>  #   endif
>  #   ifdef LINUX
>  #       define OS_TYPE "LINUX"
> -#       define HEURISTIC1
> +#       define LINUX_STACKBOTTOM
>  #       undef STACK_GRAN
>  #       define STACK_GRAN 0x10000000
>  #       define USE_GENERIC_PUSH_REGS
> 
> 
> 



More information about the Gc mailing list