From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3071939730CF; Fri, 15 Jan 2021 12:17:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3071939730CF From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library Date: Fri, 15 Jan 2021 12:17:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hjl.tools at gmail dot com X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 12:17:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70454 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34 commit r11-6709-g0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34 Author: Jakub Jelinek Date: Fri Jan 15 13:12:59 2021 +0100 libatomic, libgomp, libitc: Fix bootstrap [PR70454] The recent changes to error on mixing -march=3Di386 and -fcf-protection= broke bootstrap. This patch changes lib{atomic,gomp,itm} configury, so that = it only adds -march=3Di486 to flags if really needed (i.e. when 486 or lat= er isn't on by default already). Similarly, it will not use ifuncs if -mcx16 (or -march=3Di686 for 32-bit) is on by default. 2021-01-15 Jakub Jelinek PR target/70454 libatomic/ * configure.tgt: For i?86 and x86_64 determine if -march=3Di486= needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Determine if try_ifunc is needed based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP= _16 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8. libgomp/ * configure.tgt: For i?86 and x86_64 determine if -march=3Di486= needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. libitm/ * configure.tgt: For i?86 and x86_64 determine if -march=3Di486= needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.=