Re: [Gc] fix boehm-gc on Debian/m68k

Ivan Maidanski ivmai at
Sat May 7 12:24:13 PDT 2011

Hi Thorsten,

I've applied the patch to CVS (with a minor correction - ')' was missing).
I think it should work the same as the patch for v7.1 (I don't have any possibility of testing GC on Debian/m68k.)


Sat, 7 May 2011 14:42:47 +0000 (UTC) Thorsten Glaser <tg at>:

> Hi,
> there’s no getcontext(2) on Debian/m68k but boehm-gc tries to
> use it (and fails). This causes an FTBFS in w3m, but using the
> gctest.c programme from gcc 3.4.6 is enough to expose the bug.
> root at ara2:~ # gcc gctest.c -lgc
> root at ara2:~ # ./a.out
> Getcontext failed: Use another register retrieval method?
> Aborted
> I’ve attached a diff against your CVS which _should_ fix the
> problem (not tested), and currently am preparing one against
> the Debian package (7.1 still) which will be tested (with the
> same effect, just a different location for the ifndef).
> Please review and, unless buggy, apply.
> Thanks,
> //mirabilos
> -- 
> FWIW, I'm quite impressed with mksh interactively. I thought it was much
> *much* more bare bones. But it turns out it beats the living hell out of
> ksh93 in that respect. I'd even consider it for my daily use if I hadn't
> wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
> _______________________________________________
> Gc mailing list
> Gc at

More information about the Gc mailing list