Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/librumphijack



On Fri Mar 11 2011 at 03:34:47 +0300, Valeriy E. Ushakov wrote:
> On Thu, Mar 10, 2011 at 23:02:56 +0000, Antti Kantee wrote:
> 
> > Use rumphijack_dlsym() to figure out where __sysctl() is during
> > init.  Otherwise powerpc dlsym() DTWT and returns NULL.
> > (now i have no idea why dlsym() it works from rcinit(), but i'll
> > opt to not care)
> 
> I don't remember if I brought this up here already, but I strongly
> suspect suspect that libexec/ld.elf_so/rtld.c
> 
> revision 1.121
> date: 2008/09/27 03:52:05;  author: macallan;  state: Exp;  lines: +15 -3
> avoid usind __builtin_return_address(0) on PowerPC because it fails in
> Xorg's module loader.
> Should fix PR37812
> 
> broke it (hi, Mac!).  IIRC, it tries to work around dlsym in tail call
> position (badness!) and "fixes" it only by chance, causing grief
> elsewhere.

If there only were a test, someone could try to fix things without
worrying about reintroducing the original problem again ...

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Home | Main Index | Thread Index | Old Index