NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/56820: Many FPE related tests fail on softfloat machines



>Number:         56820
>Category:       misc
>Synopsis:       Many FPE related tests fail on softfloat machines
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 07 12:50:01 +0000 2022
>Originator:     Rin Okuyama
>Release:        9.99.96
>Organization:
Department of Physics, Meiji University
>Environment:
NetBSD usl5p 9.99.96 NetBSD 9.99.96 (USL-5P) #1: Fri May  6 14:47:54 JST 2022  rin@latipes:/build/src/sys/arch/landisk/compile/USL-5P landisk
>Description:
As observed for, e.g.,

armv5:	https://www.netbsd.org/~martin/evbarm-atf/
sh3:	https://www.netbsd.org/~martin/landisk-atf/

many FPE related tests, like
libc/sys/t_ptrace_*_signal{ignore,masked}_crash_fpe,
fail on softfloat machines.

These tests expect that SIGFPE cannot be ignored nor blocked, as
it is raised by FPE handler in kernel, like SIGBUS or SIGILL.

However, for softfloat environments, SIGFPE can be ignored/blocked
like other ``normal'' signals, as it is raised by libc/softfloat.
>How-To-Repeat:
On softfloat machines:

# cd /usr/tests/lib/libc/sys && atf-run t_ptrace_wait
>Fix:
Skip these tests on softfloat machines?



Home | Main Index | Thread Index | Old Index