[webkit-dev] split webkit library to smaller ones

Bin Chen binary.chen at gmail.com
Mon Feb 4 04:37:04 PST 2008


On Feb 4, 2008 4:43 PM, Mike Hommey <mh+webkit at glandium.org> wrote:
>
> On Mon, Feb 04, 2008 at 03:10:07PM +0800, Bin Chen <binary.chen at gmail.com> wrote:
> > On Feb 4, 2008 2:59 PM, Mike Hommey <mh at glandium.org> wrote:
> > >
> > > On Mon, Feb 04, 2008 at 02:54:59PM +0800, Bin Chen wrote:
> > > > Hello,
> > > >
> > > > I am compiling the webkit for MIPS, and in the finally stage to
> > > > product the GTK port library, it errors about the GOT overflow.
> > > > After google I see its because the object file is too large that one
> > > > GOT can't fill. Although my toolchain is quite new(GCC 4.1.2, binutils
> > > > 2.17) it still can't successfully link. I know I can't expect I can
> > > > solve the problem in webkit side, but I suggest webkit dev team to
> > > > consider to split the one-large-so to some small DSOs then this should
> > > > be make the entire webkit solution more easier to port.
> > >
> > > FWIW, it builds just fine on MIPS on Debian build daemons with gcc 4.2.
> > >
> > Thanks. Do you know the binutils version?
>
> 2.18.1~cvs20071027-1 but you should probably check if there aren't some
> debian patches for mips in there.
>
OK,
Solved by add a option to CFLAGS: -mxgot.
This option will make the program slow, please see the gcc documents
mips section.

Thanks.
Bin


More information about the webkit-dev mailing list