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

            Bug ID: 20360
           Summary: DT_TEXTREL appearing in output with no textrels on
                    x86_64
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: bugdal at aerifal dot cx
  Target Milestone: ---

This is based on a bug report from dotnet CoreCLR:

https://github.com/dotnet/coreclr/issues/6211

What seems to be happening is that bfd ld is producing a DT_TEXTREL header in
the output shared library despite it not having any actual textrels (according
to scanelf and manual reading of readelf output). This results in a library
that is not loadable on hardened kernels (due to rejected mprotect operation),
despite the fact that no relocations in the writable LOAD segment are actually
needed/present.

I have reviewed the readelf outputs but not the actual files and I have not
performed the build myself. I'm asking the dotnet folks to follow up on this
bug report with additional information.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to