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 dynamic-link/24741] New: ld.so should not require that a versioned symbol is always implemented in the same library


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

            Bug ID: 24741
           Summary: ld.so should not require that a versioned symbol is
                    always implemented in the same library
           Product: glibc
           Version: 2.30
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---

ld.so currently performs a check which requires that a versioned symbol is
implemented in the same shared object in which it was found at link time.

The error message looks like this:

symbol FUNCTION-NAME, version SYMBOL-VERSION not defined in file DSO-NAME with
link time reference

This check constrains the evolution of shared objects because implementations
cannot be moved to dependent objects.  This check is only applied to versioned
symbols, and therefore versioned symbols are less powerful than unversioned
symbols in this context.

The presence of this check requires that we add wrapper functions each time we
move a function from a secondary library into libc.so.

-- 
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]