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

Re: Static builds of Mozilla failing on mips and mipsel



* Thiemo Seufer (ica2_ts@csv.ica.uni-stuttgart.de) wrote:
> Eric Dorland wrote:
> > Hi,
> > 
> > Looking at the latest buildd logs of firefox[0] on mips and mipsel I'm
> > getting some linking errors. I've changed the compile of firefox to
> > build as a static executable rather than dozens of XPCOM
> > components.
> 
> Is it possible to revert that change (at least for mips/mipsel)?

Sure, it's not a problem. I was just hoping there was a better fix. 
 
> > This seems to working on all arches except the
> > mips. Anybody want to take a look? (Thiemo, you saved my bacon last
> > time, I'm hoping you're still lurking around :))
> 
> Compiling those components in the executable let it grow over the 16k
> globlal GOT symbols limit. Unfortunately, there's currently no way
> around it, the xgot trick works only for shared libraries. (It would
> work if we had xgot variants of the startup files, crt1.o, crtbegin.o,
> etc. and the compiler/linker knew how to select them.)
> 
> This is the same bug which prevents the build of gcj and ghc.

Ahh, how annoying. 

-- 
Eric Dorland <eric.dorland@mail.mcgill.ca>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: Digital signature


Reply to: