public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Build x86 libitm/libgomp/libatomic with -march=i486 or better
@ 2021-01-14 21:04 H.J. Lu
  2021-01-14 21:04 ` [PATCH 1/3] Build x86 libitm " H.J. Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: H.J. Lu @ 2021-01-14 21:04 UTC (permalink / raw)
  To: gcc-patches; +Cc: Uros Bizjak, Jakub Jelinek

Starting from

commit 77d372abec0fbf2cfe922e3140ee3410248f979e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 14 05:56:46 2021 -0800

    x86: Error on -fcf-protection with incompatible target

GCC issues an error on -fcf-protection with incompatible target.  CET
is enabled in run-time libraries on x86 when GCC is configured with

--with-arch=XXX

where XXX enables SSE2.  But libitm/libgomp/libatomic are hardcoded to
compile with -march=i486 which is incompatible with CET.  We should
compile libitm/libgomp/libatomic -march=i486 only if the default -march=
is lower than i486.

H.J. Lu (3):
  Build x86 libitm with -march=i486 or better
  Build x86 libgomp with -march=i486 or better
  Build x86 libatomic with -march=i486 or better

 libatomic/configure.tgt | 73 ++++++++++++++++++++++++++++-------------
 libgomp/configure.tgt   | 36 +++++++++-----------
 libitm/configure.tgt    | 39 +++++++++++-----------
 3 files changed, 85 insertions(+), 63 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-15 12:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 21:04 [PATCH 0/3] Build x86 libitm/libgomp/libatomic with -march=i486 or better H.J. Lu
2021-01-14 21:04 ` [PATCH 1/3] Build x86 libitm " H.J. Lu
2021-01-14 21:04 ` [PATCH 2/3] Build x86 libgomp " H.J. Lu
2021-01-14 21:04 ` [PATCH 3/3] Build x86 libatomic " H.J. Lu
2021-01-14 23:01   ` Jakub Jelinek
2021-01-15  0:08     ` V2 " H.J. Lu
2021-01-15  7:59       ` Jakub Jelinek
2021-01-15 11:54       ` [PATCH] libatomic, libgomp, libitc: Fix bootstrap [PR70454] Jakub Jelinek
2021-01-15 12:07         ` Richard Biener
2021-01-15 12:35           ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).