[Debian GNUstep maintainers] Bug#362192: bus error in autogsdoc on
some architectures
Hubert Chan
hubert at uhoreg.ca
Sat Apr 22 19:16:11 UTC 2006
On Fri, 21 Apr 2006 20:33:07 -0700 (PDT), Jurij Smakov said:
> Hi, On sparc this clearly looks like an alignment problem. The
> decode() function mentioned in the backtrace above is supposed to do
> the right thing depending on whether alignment on word boundary for
> ints is required. The need for such alignment is tested during
> 'configure' run and is recorded in NEED_WORD_ALIGNMENT variable in
> Source/config.h (and other places probably). The problem is that on
> sparc this test is not triggered as it should, so the
> NEED_WORD_ALIGNMENT is set to zero. [...snip...]
Hi Jurij,
Wow, thanks for all your work.
Can you try using the attached file as config/config.align.c? I've just
added a call to "puts" to force the compiler to not optimize out the
assignments. (Fortunately, the compiler isn't smart enough to know that
the assignments are still useless.)
Thanks again.
-------------- next part --------------
--
Hubert Chan - email & Jabber: hubert at uhoreg.ca - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA (Key available at wwwkeys.pgp.net)
Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA
More information about the pkg-GNUstep-maintainers
mailing list