public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/94739] New: GCC won't build on CET enabled Linux OS
@ 2020-04-24  1:10 hjl.tools at gmail dot com
  2020-04-24 19:32 ` [Bug bootstrap/94739] " hjl.tools at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-24  1:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94739

            Bug ID: 94739
           Summary: GCC won't build on CET enabled Linux OS
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

[hjl@gnu-tgl-1 build-x86_64-linux]$ readelf -n /bin/ld 2>&1|more

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000030       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature: IBT, SHSTK
        x86 ISA used: CMOV, SSE, SSE2
        x86 feature used: x86, XMM

and I got

build-x86_64-linux/./gcc/liblto_plugin.so: indirect branch tracking isn't
enabled: Invalid argument
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:994: libgcc_s.so] Error 1

Since ld is CET enabled, dlopen failed on liblto_plugin.so since it isn't CET
enabled.  On CET enabled Linux OS, we need to always enable CET on
liblto_plugin.so.

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

end of thread, other threads:[~2020-04-28 13:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  1:10 [Bug bootstrap/94739] New: GCC won't build on CET enabled Linux OS hjl.tools at gmail dot com
2020-04-24 19:32 ` [Bug bootstrap/94739] " hjl.tools at gmail dot com
2020-04-25 17:09 ` cvs-commit at gcc dot gnu.org
2020-04-25 17:13 ` hjl.tools at gmail dot com
2020-04-27  8:47 ` manfred99 at gmx dot ch
2020-04-27 13:00 ` hjl.tools at gmail dot com
2020-04-27 13:29 ` hjl.tools at gmail dot com
2020-04-27 13:53 ` tschwinge at gcc dot gnu.org
2020-04-27 14:09 ` manfred99 at gmx dot ch
2020-04-27 15:22 ` manfred99 at gmx dot ch
2020-04-27 17:07 ` hjl.tools at gmail dot com
2020-04-28 12:59 ` cvs-commit at gcc dot gnu.org
2020-04-28 13:02 ` 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).