Subject: port-sparc/25893: regress/lib/libc/siginfo/sigsegv fails on sparc
To: None <gnats-bugs@gnats.NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 06/10/2004 23:01:34
>Number:         25893
>Category:       port-sparc
>Synopsis:       regress/lib/libc/siginfo/sigsegv fails on sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 10 21:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Bouyer
>Release:        NetBSD 2.0_BETA as of 5 Jun
>Organization:
>Environment:
System: NetBSD maumusson 2.0_BETA NetBSD 2.0_BETA (GENERIC.MP) #8: Sun Jun 6 21:19:25 CEST 2004 bouyer@maumusson:/obj/sparc/obj/home/bouyer/src/sys/arch/sparc/compile/GENERIC.MP sparc
Architecture: sparc
Machine: sparc
>Description:
	regress/lib/libc/siginfo/sigsegv fails on sparc with:
maumusson# make USETOOLS=never regress
rm -f .gdbinit
touch .gdbinit
#   compile  sigsegv/sigsegv.o
cc -O2   -Werror      -c    sigsegv.c
#      link  sigsegv/sigsegv
cc    -o sigsegv  -Wl,-rpath-link,/lib:/usr/lib  -L/lib sigsegv.o 
./sigsegv
assertion "info->si_errno == 0" failed: file "sigsegv.c", line 39, function "sigsegv"

	Tested on a dual-CPU SS10, and a SS2. This test pass on i386.

>How-To-Repeat:
	cd src/regress/lib/libc/siginfo/sigsegv; make USETOOLS=never regress
>Fix:
	unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: