Re: Please reenable GCJ on mips
Daniel Jacobowitz wrote:
[snip]
> > - MultiGOT works fine, until the limit of 16k _dynamic_ symbols is
> > hit. A executable/library with larger exported GOT will build
> > without warning but will cause ld.so to segfault. This is the main
> > bug, and hard to debug (a statically built gdb may help here).
> > This hits currently (at least) the gcj shared library runtime,
> > the ghc executable, and libgklayout.so in mozilla*. A workaround
> > involving XGOT is possible in some cases, and was done for the
> > mozillae (and some others, grepping for -xgot in build logs seems
> > to be the most reliable way to find them all). Dynamically linked
> > executables/shared libraries with any of the different internal GOT
> > models are freely mixable.
>
> If you'll give me an explicit testcase, I will volunteer to debug this
> for you; I have lots of practice debugging ld.so.
Unfortunately the "testcase" is mozilla's libgklayout.so, Which isn't
exactly handy. I'll try to come up with something better the next days.
> Is this really the
> main bug at this point? I.E. multigot binaries not working rather than
> not linking?
It was that way the last time I looked.
Thiemo
Reply to: