Created attachment 593785 [details] Patch to fix the problem Description of problem: The binding information printed for LD_DEBUG=bindings is incorrect when dlopen is used. This severely hinders people debugging problems with audit modules and other problems. Version-Release number of selected component (if applicable): 2.15-48 How reproducible: always Steps to Reproduce: 1.find program which uses dlopen with a handle returned by dlopen 2.use LD_DEBUG=bindings 3. Actual results: The 'from' map is reported to be the map with the definition Expected results: The from 'from' map should be reported. Additional info: This is a problem in RHEL6 as well and should be fixed there as well.
Uli, is there a reason why you haven't installed this into the official glibc sources? While we can and do carry some local changes, our preference would be to minimize such changes. This seems like a case where, as a glibc maintainer, you should install the change upstream and I'll pull it from there.
An upstream bug has been filed (#14474) and your patch attached to that upstream report. If/when the upstream glibc maintainers install that patch, we'll pick it up for Fedora via our normal merging processes.