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.to...@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

Reply via email to