NetBSD Problem Report #55999

From www@netbsd.org  Sat Feb 20 09:01:03 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 9F7981A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 20 Feb 2021 09:01:03 +0000 (UTC)
Message-Id: <20210220090102.177481A923E@mollari.NetBSD.org>
Date: Sat, 20 Feb 2021 09:01:02 +0000 (UTC)
From: thomas.orgis@uni-hamburg.de
Reply-To: thomas.orgis@uni-hamburg.de
To: gnats-bugs@NetBSD.org
Subject: math/openblas broken with gcc 10, please pull update to 0.3.10 from wip/openblas
X-Send-Pr-Version: www-1.0

>Number:         55999
>Category:       pkg
>Synopsis:       math/openblas broken with gcc 10, please pull update to 0.3.10 from wip/openblas
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 20 09:05:00 +0000 2021
>Closed-Date:    Wed Apr 21 11:04:53 +0000 2021
>Last-Modified:  Wed Apr 21 11:04:53 +0000 2021
>Originator:     Thomas Orgis
>Release:        CVS head 2020-02-19
>Organization:
Universitšt Hamburg
>Environment:
x86-64 GNU/Linux 5.5.6
>Description:
OpenBLAS is broken with gcc 10. A test will fail like that:

                                    ----- PASS -----

 Test of subprogram number 12            DROTM
                                    ----- PASS -----

 Test of subprogram number 13            DSDOT
                                    ----- PASS -----
OMP_NUM_THREADS=1 OMP_NUM_THREADS=1 ./cblat1

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fe1b3480aff in ???
        at /usr/src/glibc-2.32/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
#1  0x55abdaf6a870 in ???
#2  0x55abdab388cc in ???
#3  0x55abdab37b0d in ???
#4  0x55abdab384f4 in ???
#5  0x55abdab3704e in ???
#6  0x7fe1b346b8d9 in __libc_start_main
        at ../csu/libc-start.c:314
#7  0x55abdab370a9 in ???
        at ../sysdeps/x86_64/start.S:120
#8  0xffffffffffffffff in ???
gmake[1]: *** [Makefile:10: level1] Segmentation fault (core dumped)
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/[Ö]/math/openblas/work/OpenBLAS-0.3.7/test'
gmake: *** [Makefile:122: tests] Error 2
*** Error code 2


This is well-known and the fix is to update OpenBLAS. I prepared an
update in wip/openblas (the other openblas_* variants follow). Can
someone please pull this into the main repo?

See the git log for the choice of updated version.
>How-To-Repeat:
Try to build math/openblas with gcc 10 (on Linux?).
>Fix:
Please pull wip/openblas with the fixed upstream version.

>Release-Note:

>Audit-Trail:
From: "Dr. Thomas Orgis" <thomas.orgis@uni-hamburg.de>
To: <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/55999: math/openblas broken with gcc 10, please pull update
 to 0.3.10 from wip/openblas
Date: Fri, 26 Mar 2021 01:11:54 +0100

 So, this stuff is in the master branch now, into freeze for 2021Q1.

 Could be closed once we're sure that the builders are happy.

 -- 
 Dr. Thomas Orgis
 HPC @ Universität Hamburg

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 21 Apr 2021 11:04:53 +0000
State-Changed-Why:
Sounds like it is fixed. Thanks.


>Unformatted:

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.