From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C2AA3861013; Tue, 25 Aug 2020 14:55:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C2AA3861013 From: "ondra.hosek at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/26534] New: libm.so 2.32 SIGILL in pow() due to FMA4 instruction on non-FMA4 system Date: Tue, 25 Aug 2020 14:55:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ondra.hosek at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 14:55:19 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26534 Bug ID: 26534 Summary: libm.so 2.32 SIGILL in pow() due to FMA4 instruction on non-FMA4 system Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: ondra.hosek at gmail dot com Target Milestone: --- Programs calling libm's pow() exit with SIGILL because it executes the FMA4 instruction vfmaddsd %xmm4,0x8(%rdx),%xmm6,%xmm0 on a system that does not support FMA4. This is apparently due to a regression in commit 107e6a3c2212ba7a3a4ec7cae8d82d73f7c95d0b file sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h where the ifunc checks for "FMA" instead of "FMA4". Originally reported to Arch Linux: https://bugs.archlinux.org/task/67715 --=20 You are receiving this mail because: You are on the CC list for the bug.=