This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/25225] New: ld.so fails to link on x86 if GCC defaults to -fcf-protection


https://sourceware.org/bugzilla/show_bug.cgi?id=25225

            Bug ID: 25225
           Summary: ld.so fails to link on x86 if GCC defaults to
                    -fcf-protection
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

If GCC defaults to -fcf-protection, we need to automatically assume
--enable-cet. Otherwise ld.so will use CET functionality (as __CET__ is
defined), but it has not been compiled and linked into ld.so due to the
--disable-cet default. Therefore linking ld.so fails.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]