The following reply was made to PR port-i386/39299; it has been noted by GNATS.
From: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-i386-maintainer%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
netbsd-bugs%NetBSD.org@localhost
Subject: Re: port-i386/39299
Date: Fri, 17 Oct 2008 16:29:11 +0200
hubert%feyrer.de@localhost said:
> * without the patch, I get the following output:
> 0.739085/nan (sh)
0.739... is a fixpoint of the cos() function, so if
everything works well, the variable doesn't change
much. The "nan" result shows that the calculation
of the cos() failed. In this case it is due to an
overflow of the i387 FP stack.
> * with your patch, I do not get any output
No output is good output - the function iterates
as it should.
> With NetBSD 4.99.72 running in Qemu, I do *not* get any output with and
> without the patch - this is in contrast to the "real" machine!
Hmm - this could mean that qemu's i387 model does not
signal the stack overflow. That's likely a bug.
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------