[nhc-bugs] Build problem with m68K architecture

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Thu, 6 Feb 2003 11:26:11 +0000


This is a multi-part message in MIME format.

--Multipart_Thu__6_Feb_2003_11:26:11_+0000_083cee70
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Brent Fulgham <bfulgham@debian.org> writes:

> The m68K architecture (pre-powerpc apple computers) won't build.  This
> problem has been around since nhc98-1.10:
> 
> > In function `_mpn_div': mpn_div.c:136: `asm' operand requires impossible
> >                                        reload

Try this patch.  I don't know enough about m68k assembler to be
certain that it will fix the problem, but it might be a useful start.

Regards,
    Malcolm

--Multipart_Thu__6_Feb_2003_11:26:11_+0000_083cee70
Content-Type: text/plain;
 name="patch-m68000"
Content-Disposition: attachment;
 filename="patch-m68000"
Content-Transfer-Encoding: base64

ZGlmZiAtdSAtcjEuMiBhc21sb25nLmgKLS0tIHNyYy9ydW50aW1lL0ludGVnZXIvYXNtbG9uZy5o
CTIwMDAvMDIvMjUgMTQ6MTA6NTcJMS4yCisrKyBzcmMvcnVudGltZS9JbnRlZ2VyL2FzbWxvbmcu
aAkyMDAzLzAyLzA2IDExOjIxOjU1CkBAIC0yMzMsMjMgKzIzMywyMSBAQAogCiAjaWYgZGVmaW5l
ZCAoX19tYzY4MDAwX18pCiAjZGVmaW5lIGFkZF9zc2FhYWEoc2gsIHNsLCBhaCwgYWwsIGJoLCBi
bCkgXAotICBfX2FzbV9fICgiYWRkJS5sICU1LCUxCi0JYWRkeCUubCAlMywlMCIJCQkJCQkJXAot
CSAgIDogIj1kLGQiICgodW5zaWduZWQgbG9uZyBpbnQpKHNoKSksCQkJCVwKLQkgICAgICI9JmQs
bSIgKCh1bnNpZ25lZCBsb25nIGludCkoc2wpKQkJCQlcCi0JICAgOiAiJTAsMCIgKCh1bnNpZ25l
ZCBsb25nIGludCkoYWgpKSwJCQkJXAotCSAgICAgImQsZCIgKCh1bnNpZ25lZCBsb25nIGludCko
YmgpKSwJCQk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gKCh1bnNpZ25lZCBsb25nIGludCkoc2gpKSwJ
CQkJXAorCSAgICAgIj0mZCIgKCh1bnNpZ25lZCBsb25nIGludCkoc2wpKQkJCQlcCisJICAgOiAi
MCIgKCh1bnNpZ25lZCBsb25nIGludCkoYWgpKSwJCQkJXAorCSAgICAgImQiICgodW5zaWduZWQg
bG9uZyBpbnQpKGJoKSksCQkJCVwKKwkgICAgICIxIiAoKHVuc2lnbmVkIGxvbmcgaW50KShhbCkp
LAkJCQlcCisJICAgICAiZyIgKCh1bnNpZ25lZCBsb25nIGludCkoYmwpKSkKICNpZiBkZWZpbmVk
IChfX21jNjgwMjBfXykgfHwgZGVmaW5lZCAoX19OZVhUX18pIHx8IGRlZmluZWQobWM2ODAyMCkK
ICNkZWZpbmUgdW11bF9wcG1tKHcxLCB3MCwgdSwgdikgXAogICBfX2FzbV9fICgibXVsdSUubCAl
MywlMTolMCIJCQkJCQlcCg==

--Multipart_Thu__6_Feb_2003_11:26:11_+0000_083cee70--