Neil Jerram wrote:
[snip]
> > however, one of those patches is only a workaround.
> >
> > There are two problems:
> > - For Linux on mips/mipsel the gc definitions look decidedly strange,
> >  I replaced those with more sensible variants.
> 
> 
> I believe those definitions came from the Boehm GC library.  Do you happen
> to know whether similar improvements have already been applied to Boehm GC?

The development version of Boehm GC carries a subset of it since:
http://bdwgc.cvs.sourceforge.net/bdwgc/bdwgc/include/private/gcconfig.h?r1=1.28&r2=1.29

This might be enough to make it work, altough I believe my patch is
preferable.

> > - For at least mips, but probably a number of other architectures as
> >  well, the stack direction check goes wrong. It looks like gcc
> >  outsmarts the autoconf test. I worked around by removing the test,
> >  this breaks HP/UX on hppa, and probably also some old Cray machines.
> 
> 
> So is it the case that the stack actually grows down on mips (and mipsel and
> powerpc)?

Yes. (This is the the case for almost all machines nowdays.)

> Did you see (or work out) exactly how gcc was outsmarting the
> test?

No, I only concluded this from the test's incorrect result.


Thiemo



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to