[Bug dynamic-link/26101] New: Document and test ldconfig and cache search and sorting behaviour.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug dynamic-link/26101] New: Document and test ldconfig and cache search and sorting behaviour.

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26101

            Bug ID: 26101
           Summary: Document and test ldconfig and cache search and
                    sorting behaviour.
           Product: glibc
           Version: 2.32
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

In ldconfig we have a specific sorting against the files listed in the search
directories. This is controlled by _dl_cache_libcmp() function. We don't
document this behaviour anywhere, and at this point it's pretty close to ABI.

We should add tests to verify _dl_cache_libcmp() behaviour.

We should document the directory list sorting behaviour so developers can know
what will get listed first.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dynamic-link/26101] Document and test ldconfig and cache search and sorting behaviour.

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26101

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=990706

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dynamic-link/26101] Document and test ldconfig and cache search and sorting behaviour.

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26101

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
Posted patch for testing the behaviour:
https://sourceware.org/pipermail/libc-alpha/2020-June/115222.html

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