From nobody Fri May 24 08:08:41 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlyNT4jHTz5LyKR for ; Fri, 24 May 2024 08:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VlyNT2SdDz48kr for ; Fri, 24 May 2024 08:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716538121; a=rsa-sha256; cv=none; b=g3aArI/ijiVG0388usYrdE24d15wrywbKKVePMTHvfBJnVTm0lTQuhBInWn1wMcOkwgvbC RdlleklPo3kLC/B8LGNQoM2G88R2RureD6pv++kI40AJqRcBqvUj4t/lciEIiQ9iafsO+z HQ+PYv0RxWaURVDGPk4mXnnyfpOzP4P0Epeed7Db6hy93O6VSCKqw0cB9DHxjXAlb1jrPU S+MMZTvn0JuLqkK+Ez+uet6H9bCSDHKubWycrgbTH+/0cPfck2V5RjLyVmtkT7u4Pxb2rV SmUeLrwMKAthSmDLyRMaOQ5S10P5UYWQOuVr+MkHptXO0JRZ66sMEcXtb5SgnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716538121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z7ZMjEhQ6YalXX28C9RLWK5Bw+Rua/N7/79e7GnR4ZM=; b=N20OOfxzx+jt0r+kCMeBWRsrQ/JvqyKBRCkO+Yi81grn/JYROL4gFhLKV2zD8jVVKePBhX itPlGlqV0L0L52xv9ZiIg4W3WT4GnqRwNHW0p5Dy8h+t+SD3tpl+1nAe6c0bnZjY1iLnSC X/J9nqh17Yg9FnInPBtadVJhh+tb6vQEPLPKtiNonioMwv4UeqI6YMxg+Pq/bjCpZ5GJDG eLnbeHLiSj1JCSFoxnUQIu74gmcqHXm09gobLJc74RV5SWrw3JQwkGJNCT1qqWuqPU4aIU UtE9wcUXLtw2FYKYR+awJiAy5pkckzvWurPVd2BuEYejjZ6KpgXHyhOpwhbT7Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VlyNT1xv8zQG8 for ; Fri, 24 May 2024 08:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44O88fHe087816 for ; Fri, 24 May 2024 08:08:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44O88f1J087815 for ports-bugs@FreeBSD.org; Fri, 24 May 2024 08:08:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279267] gofortran on i386: SIGBUS inside _gfortran_transfer_complex128_write Date: Fri, 24 May 2024 08:08:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279267 Bug ID: 279267 Summary: gofortran on i386: SIGBUS inside _gfortran_transfer_complex128_write Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mi@FreeBSD.org CC: salvadore@freebsd.org Trying to install py-numpy, I tried both the OPENBLAS and the NETLIB option= s. OPENBLASS does not even build (it dies while testing itself): gfortran13 -O2 -march=3Dnative -Wl,-rpath=3D/opt/lib/gcc13 -O2 -m128bit-lon= g-double -Wall -frecursive -fno-optimize-sibling-calls -m32 -msse -msse2 -msse3 -ms= sse3 -msse4.1 -O2 -m128bit-long-double -Wall -frecursive -fno-optimize-sibling-c= alls -m32 -msse -msse2 -msse3 -mssse3 -msse4.1 -fno-tree-vectorize=20 -Wl,-rpath=3D/opt/lib/gcc13 -L/opt/lib/gcc13 -fstack-protector-strong -o = dblat3 dblat3.o ../libopenblas_nehalemp-r0.3.25.a -lpthread -lgfortran -lpthread -lgfortran -L/usr/lib -lc OPENBLAS_NUM_THREADS=3D1 OMP_NUM_THREADS=3D1 ./sblat1 gmake[1]: *** [Makefile:30: level1] Bus error (core dumped) gmake[1]: *** Waiting for unfinished jobs.... The BLAS/CBLAS/LAPACK (NETLIB) don't bother with self-testing and install. However, trying to use even load them (such by running "import numpy" insid= e a Python script) crashes too. In all cases the crash is inside: #0 0x2845b346 in _gfortran_transfer_complex128_write () from /opt/lib/gcc13/libgfortran.so.5 [New Thread 28a12000 (LWP 115657/)] I tried rebuilding everything with both gcc13 and 12 -- the crash is the sa= me. SIGBUS suggests a misalignment of input arguments -- perhaps, something oug= ht to be aligned at 128-bit, and is not (because i386). My CFLAGS contain -march=3Dsandybridge and my FFLAGS use -march=3Dnative in= stead. The CPU-features are listed (in /var/run/dmesg.boot) as: CPU: Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (3000.11-MHz 686-class CPU) Origin=3D"GenuineIntel" Id=3D0x906ea Family=3D0x6 Model=3D0x9e Steppi= ng=3D10 =20 Features=3D0x1783fbff =20 Features2=3D0x5eda2203 AMD Features=3D0x8100000 AMD Features2=3D0x121 Structured Extended Features=3D0x42529 Structured Extended Features3=3D0x30000400 IA32_ARCH_CAPS=3D0x2000c04 TSC: P-state invariant However, this is a VM running under Oracle's VirtualBox supervisor. According to OpenBLAS' Freshports-page, the port builds on i386 -- but it is unclear, which version of gfortran it uses and which optimization flags. --=20 You are receiving this mail because: You are the assignee for the bug.=