Bug 29539 - LD_TRACE_LOADED_OBJECTS changed how vDSO library are printed
Summary: LD_TRACE_LOADED_OBJECTS changed how vDSO library are printed
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: 2.37
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-30 16:35 UTC by Adhemerval Zanella
Modified: 2022-08-31 12:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adhemerval Zanella 2022-08-30 16:35:40 UTC
The d7703d3176d225d5743b21811d888619eba39e82 changed on how vDSO like dependencies are printed, instead of just the name and address it follows other libraries mode and print 'name => path'.

Unfortunately, this broke some ldd consumer that uses the output to filter out the program's dependencies.  For instance CMake bundleutilities module [1], where GetPrequirite uses the regex to filter out 'name => path' [2].

[1] https://github.com/Kitware/CMake/tree/master/Tests/BundleUtilities
[2] https://github.com/Kitware/CMake/blob/master/Modules/GetPrerequisites.cmake#L733
Comment 1 Adhemerval Zanella 2022-08-31 12:09:52 UTC
Fixed on 2.37.