Subject: bin/33295: ieeefp/except regression test fails on soft-float userlands
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 04/20/2006 10:00:00
>Number:         33295
>Category:       bin
>Synopsis:       ieeefp/except regression test fails on soft-float userlands
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 20 10:00:00 +0000 2006
>Originator:     Simon Burge <simonb@wasabisystems.com>
>Release:        NetBSD 3.99.18, from around April 18 2006
>Organization:
Wasabi Systems
>Environment:
System: NetBSD iq80321 3.99.18 NetBSD 3.99.18 (IQ80321) #0: Thu Apr 20 13:01:00 EST 2006 simonb@bigkev.thistledown.com.au:/home/simonb/netbsd/src-virgin/sys/arch/evbarm/compile/IQ80321 evbarm
Architecture: arm
Machine: evbarm
>Description:

        The ieeefp/except regression test fails on soft-float userlands,
        because the softfloat library uses raise(3) to send SIGFPE when
        exceptions should occur, but has no way of setting the si_code
        field of siginfo with the correct code.

        The failure reported by the regression test is:

		assertion "sicode == ops[i].sicode" failed: file "except.c", line 164, function "main"

        This same failure occurs on PowerPC when built with softfloat
        userland.

>How-To-Repeat:

	cd .../regress/lib/libc/ieeefp/except
	make
	make regress

>Fix:
	None given.