public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
@ 2021-01-14 22:58 ` hjl.tools at gmail dot com
2021-01-15 3:14 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-14 22:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Last reconfirmed| |2021-01-14
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |jakub at redhat dot com
Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com
Target Milestone|--- |11.0
Version|6.0 |11.0
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
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 SSE2
enabled. But 32-bit 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.
Patches are posted at
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563532.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 22:58 ` [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library hjl.tools at gmail dot com
@ 2021-01-15 3:14 ` hjl.tools at gmail dot com
2021-01-15 12:17 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-15 3:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |crazylht at gmail dot com
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 98695 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 22:58 ` [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library hjl.tools at gmail dot com
2021-01-15 3:14 ` hjl.tools at gmail dot com
@ 2021-01-15 12:17 ` cvs-commit at gcc dot gnu.org
2021-01-16 14:45 ` doko at debian dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-15 12:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34
commit r11-6709-g0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Jan 15 13:12:59 2021 +0100
libatomic, libgomp, libitc: Fix bootstrap [PR70454]
The recent changes to error on mixing -march=i386 and -fcf-protection broke
bootstrap. This patch changes lib{atomic,gomp,itm} configury, so that it
only adds -march=i486 to flags if really needed (i.e. when 486 or later
isn't
on by default already). Similarly, it will not use ifuncs if -mcx16
(or -march=i686 for 32-bit) is on by default.
2021-01-15 Jakub Jelinek <jakub@redhat.com>
PR target/70454
libatomic/
* configure.tgt: For i?86 and x86_64 determine if -march=i486 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=i486 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=i486 needs
to
be added through preprocessor check on
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-01-15 12:17 ` cvs-commit at gcc dot gnu.org
@ 2021-01-16 14:45 ` doko at debian dot org
2021-04-27 11:37 ` jakub at gcc dot gnu.org
2021-04-27 13:12 ` hjl.tools at gmail dot com
5 siblings, 0 replies; 6+ messages in thread
From: doko at debian dot org @ 2021-01-16 14:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
Matthias Klose <doko at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doko at debian dot org
--- Comment #9 from Matthias Klose <doko at debian dot org> ---
*** Bug 98705 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-01-16 14:45 ` doko at debian dot org
@ 2021-04-27 11:37 ` jakub at gcc dot gnu.org
2021-04-27 13:12 ` hjl.tools at gmail dot com
5 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-04-27 11:37 ` jakub at gcc dot gnu.org
@ 2021-04-27 13:12 ` hjl.tools at gmail dot com
5 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-04-27 13:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 11.1.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-27 13:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-70454-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 22:58 ` [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library hjl.tools at gmail dot com
2021-01-15 3:14 ` hjl.tools at gmail dot com
2021-01-15 12:17 ` cvs-commit at gcc dot gnu.org
2021-01-16 14:45 ` doko at debian dot org
2021-04-27 11:37 ` jakub at gcc dot gnu.org
2021-04-27 13:12 ` hjl.tools at gmail dot com
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).