On Sun, 02 Aug 2015 12:02:08 +0200, Florian Weimer wrote:
Isn't GDB moving to C++ soon?
C++ is in the plan but I do not know the schedule.
This means that possibility will be lost anyway.
I think it is already lost by all the DT_NEEDED libpython versions anyway.
If that's the only reason, going with DT_NEEDED seems fine.
Probably but I do not plan to change this in this off-trunk patch as all of
this build-id support I am rewriting these weeks from scratch anyway.
But then also in 2009 rpm maintainers suggested
https://bugzilla.redhat.com/show_bug.cgi?id=486423#c3
# calling rpmquery instead of using librpm API would be beneficial for GDB
which I refused that time
# The era of shell scripting with pipes is hopefully for 20+ years gone.
but with all the changes in recent years I am not sure if one really should
not popen some commands. librpm is breaking any programs linking to it anyway:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-6.6-buildid-locate-rp...
https://bugzilla.redhat.com/show_bug.cgi?id=643031
Jan Kratochvil