--- rtld.c.orig Sun Oct 22 20:21:10 2006 +++ rtld.c Sun Oct 22 20:22:37 2006 @@ -131,6 +131,7 @@ static void ref_dag(Obj_Entry *); void r_debug_state(struct r_debug*, struct link_map*); +__weak_reference(dlsym, _dlsym); /* * Data declarations. It seems that so many of us have been successfully using this patch to src/libexec/rtld-elf/rtld.c for a great while now. I have carefully followed the thread on current@ concerning this topic. The patch was "turned down" but I don't know why. Even though this no longer helps the situation on 7.X having it committed to the tree for 6.X would be a big help! Patching it myself after every cvs update is not such a big deal; It is forgetting to patch it after every update which is a big deal. Even though it is impossible to run Flash on HEAD it seems this patch has been thoroughly, if unofficially, tested on STABLE. This is my plea to a src committer: Please have mercy and commit the above patch. If this is truly impossible, please explain why. Let us all keep our hopes that a true solution may be found before RELENG_7_0_RELEASE. Most Respectfully, Duane Whitty
On Tue, Oct 24, 2006 at 02:04:31AM -0300, Duane Whitty wrote:> --- rtld.c.orig Sun Oct 22 20:21:10 2006 > +++ rtld.c Sun Oct 22 20:22:37 2006 > @@ -131,6 +131,7 @@ > static void ref_dag(Obj_Entry *); > > void r_debug_state(struct r_debug*, struct link_map*); > +__weak_reference(dlsym, _dlsym); > > /* > * Data declarations. > > It seems that so many of us have been successfully using this patch > to src/libexec/rtld-elf/rtld.c for a great while now. I have carefully > followed the thread on current@ concerning this topic. The patch was > "turned down" but I don't know why.Uhm, before starting to lobby a patch into the kernel, wouldn't it make sense to research the reason why it was "turned down" once already? Thanks, Tobias
Duane Whitty wrote:> Patching it myself after every cvs update is not such a > big deal; It is forgetting to patch it after every update which is a > big deal.Write a little script for yourself that calls cvsup then runs patch so you won't forget. :) Doug -- This .signature sanitized for your protection