[gclist] Boehm gc with STL from gcc 2.95.2?

Boehm, Hans hans_boehm@hp.com
Mon, 17 Apr 2000 13:14:02 -0700

Thanks.  That's indeed a problem with 5.0alpha6.  The new code to locate the
stack base under Linux fails with -DREDIRECT_MALLOC, since it calls fopen,
which calls malloc, which calls GC_malloc, which calls GC_init_inner, which
tries to find the stack base, ...

Expect this to fail with -DREDIRECT_MALLOC on all Linux platforms.  This
will be fixed shortly.


-----Original Message-----
From: Benjamin Geer [mailto:benjamin.geer@btinternet.com]
Sent: Monday, April 17, 2000 11:37 AM
To: gclist@iecc.com
Cc: Boehm, Hans
Subject: Re: [gclist] Boehm gc with STL from gcc 2.95.2?

Thanks for the clarification.  I did a test with list<Foo*, gc_alloc>
using gc5.0alpha6 and new_gc_alloc.h (where Foo is derived from
gc_cleanup), and it seems to work fine.

However, when building gc5.0alpha6, `make test' hangs if I use
-DREDIRECT_MALLOC.  This problem didn't occur with gc5.0alpha4.
Here's the output of `make test' (still hung after about 5 minutes):