From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5BAE3858C50; Thu, 4 Apr 2024 13:12:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5BAE3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712236323; bh=+4GieXDkOm4kHCIuJP3YpNxYK4cu0MkHV7B2XIgFhzo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FMXbEiNR90BBlKg9LFpaQkySxn/qBjBxOfc2infALkfQEqUcVrNdTbwhUAA6mBli2 6zf1x/hm03WBVSBedjGe//LtyWoqYUK/46AtQw4gZZvQNXEiCAyNd44xllDVBr/4Pc ZChxaOdIpQ3b5evhYiOMWEut6uc2jqiK6QQCg8Ho= From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/31335] Compile glibc with -march=x86-64-v3 should disable FMA4 multi-arch version Date: Thu, 04 Apr 2024 13:12:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31335 --- Comment #4 from H.J. Lu --- (In reply to Florian Weimer from comment #3) > Has this bug been fixed? >=20 > I ran into this issue while trying to build glibc with -mapxf. This option > is logically incompatible with -mfma4, although not rejected by GCC. I do= n't > expect there to be any hardware that supports this combination, and GCC > generates assembly that is incompatible with GAS: >=20 > /tmp/ccuidrGh.s: Assembler messages: > /tmp/ccuidrGh.s:451: Error: extended GPR cannot be used as base/index for > `vfmaddsd' > /tmp/ccuidrGh.s:702: Error: extended GPR cannot be used as base/index for > `vfmaddsd' > /tmp/ccuidrGh.s:821: Error: extended GPR cannot be used as base/index for > `vfmaddsd' > /tmp/ccuidrGh.s:1449: Error: extended GPR cannot be used as base/index for > `vfmaddsd' > /tmp/ccuidrGh.s:1591: Error: extended GPR cannot be used as base/index for > `vfmaddsd' > /tmp/ccuidrGh.s:1709: Error: extended GPR cannot be used as base/index for > `vfmaddsd' I can't reproduce it with glibc master branch, GCC 14 and binutils 2.42. What are your configure and build options? --=20 You are receiving this mail because: You are on the CC list for the bug.=