Subject: Re: boehm-gc on arm32
To: Heiko W.Rupp <hwr@pilhuhn.de>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 10/02/1999 15:57:34
On Sat, 2 Oct 1999, Heiko W.Rupp wrote:

> just tried to compile this on 1.4K/arm32.
> 
> Build fails as config.h tests on "deprecated symbol unix" (l.93)

egcs whines whenever it sees the symbol. It shouldn't be a problem
when it appears like this...

# if defined(__NetBSD__)
#    define NETBSD
#    define unix /* symbol unix is no longer defined in NetBSD */
# endif

as it does in the current boehm-gc package.

> Also the check in line 246 fails on arm32.

??? I don't have a config.h. In gcconfig.h

245  # if defined(__DJGPP__)
246  #   define I386
247  #   ifndef DJGPP
248  #     define DJGPP  /* MSDOS running the DJGPP port of GCC */
249  #   endif

Are you using the current pkgsrc, gc5.0alpha3?
 
> Isn't boehm-gc supposed to run on other platforms than i386/mips/sparc ?

I built it on mac68k-1.4.1 for w3m. w3m is not very stable. The
program often either hangs or dumps core. It's hard to say whether
it's w3m or the library, but the backtrace shows that it's in the GC_*
routines when it segfaults. (On i386, it just seems to hang.)