NetBSD Problem Report #55844

From www@netbsd.org  Sat Dec  5 09:51:38 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 41EAA1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  5 Dec 2020 09:51:38 +0000 (UTC)
Message-Id: <20201205095137.42B501A923B@mollari.NetBSD.org>
Date: Sat,  5 Dec 2020 09:51:37 +0000 (UTC)
From: jbryn@students.wcpss.net
Reply-To: jbryn@students.wcpss.net
To: gnats-bugs@NetBSD.org
Subject: siag in misc/siag causes SIGSEGV with SSE2 on i386, using gcc10, egon also has SIGSEGV
X-Send-Pr-Version: www-1.0

>Number:         55844
>Category:       pkg
>Synopsis:       siag in misc/siag causes SIGSEGV with SSE2 on i386, using gcc10, egon also has SIGSEGV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 05 09:55:00 +0000 2020
>Originator:     Jackson Bryn
>Release:        NetBSD-current 9.99.76, pkgsrc/current 12/5/20
>Organization:
N/A
>Environment:
NetBSD build.localdomain 9.99.76 NetBSD 9.99.76 (Generic) #0: Mon Nov 30 07:53:42 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Tested on a Haswell CPU in 32-bit mode, -march=bonnell, -mtune=bonnell, -O2, and -pipe.

While the crash in siag is fixable (disable SSE2 with -mno-sse2), the crash in egon is unknown. It can't be fixed with -O0 and -march/mtune=i486, nor does -fno-toplevel-reorder and -fcommon fix it.
>How-To-Repeat:
1. Launch siag on an SSE2 build and enter a value.
2. Launch egon.
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.