public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/26717] New: Detect incompatible shared libraries
@ 2020-10-08 12:59 hjl.tools at gmail dot com
  0 siblings, 0 replies; only message in thread
From: hjl.tools at gmail dot com @ 2020-10-08 12:59 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 26717
           Summary: Detect incompatible shared libraries
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: fweimer at redhat dot com
  Target Milestone: 2.33
            Target: x86-64

When an x86-64-v4 shared library is placed in the x86-64-v2 directory by
mistake on a x86-64-v2 machine, the program may run for a while and then
crashes on x86-64-v4 instructions.  The linker with -z x86-64-v[234]

https://sourceware.org/pipermail/binutils/2020-October/113633.html

can add an x86-64-v[234] marker.  In addition to EM_X86_64, the
GNU_PROPERTY_X86_ISA_1_V[234] marker can be used by ld.so to detect
the x86-64-v4 shared library placed in an x86-64-v2 directory to
avoid crashes on x86-64-v4 instructions.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-08 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 12:59 [Bug dynamic-link/26717] New: Detect incompatible shared libraries 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).