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

            Bug ID: 31966
           Summary: spurious glibc version dependency with -z mark-plt on
                    non-Linux
           Product: binutils
           Version: 2.42
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: samuel.thiba...@ens-lyon.org
  Target Milestone: ---

Created attachment 15610
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15610&action=edit
example "fix"

Hello,

916730425594 ("elf: Add elf_backend_add_glibc_version_dependency")
introduced adding an extra GLIBC_2.36 version dependency for x86_64. But
on x86_64 GNU/Hurd, there has never been a glibc 2.36 port, and thus the
GLIBC_2.36 version is not defined. The additional version dependency is
thus spurious and produces binaries that cannot be executed:

./test: /lib/x86_64-gnu/libc.so.0.3: version `GLIBC_2.36' not found (required
by ./test)

Here is a patch (but which is bogus: detects the build system instead of the
host system)

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

Reply via email to