| To: | Jun Sun <jsun@mvista.com>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org, binutils@sources.redhat.com |
|---|---|
| Subject: | Re: Huge dynamically linked program does not run on mips-linux |
| From: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
| Date: | Thu, 30 Oct 2003 02:53:53 +0100 |
| In-reply-to: | <20031029181516.GA14443@nevyn.them.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20031022.171118.88468465.nemoto@toshiba-tops.co.jp> <20031029.163201.39178653.nemoto@toshiba-tops.co.jp> <20031029101400.J30683@mvista.com> <20031029181516.GA14443@nevyn.them.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.4i |
Daniel Jacobowitz wrote: [snip] > > > anemo> My program is huge enough so that older binutils causes > > > anemo> "relocation truncated to fit" error. > > > > > > More information. My program's .got size exceeds 64K. It seems the > > > corruption does not happen if .got size is smaller then 64K. > > > > > > $ mips-linux-readelf -e myapp > > > ... > > > Section Headers: > > > [Nr] Name Type Addr Off Size ES Flg Lk > > > Inf Al > > > ... > > > [21] .got PROGBITS 100b15d0 a075d0 013a04 04 WAp 0 > > > 0 16 > > > > > > > Isn't this a known problem in binutils? IIRC, someone is working or has > > added "--big-got" support. > > Atsushi-san's program would not even link with a binutils that didn't > support multiple GOTs; I guess that something is going wrong with that > support. When building python-qt3 on debian unstable I get an oversize GOT and: /usr/bin/ld: BFD 2.14.90.0.6 20030820 Debian GNU/Linux assertion fail ../../bfd/elfxx-mips.c:2287 Seems like multi-GOT is broken for this case. Thiemo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | The Linux binutils 2.14.90.0.7 is released, H. J. Lu |
|---|---|
| Next by Date: | Re: Huge dynamically linked program does not run on mips-linux, Eric Christopher |
| Previous by Thread: | Re: Huge dynamically linked program does not run on mips-linux, Daniel Jacobowitz |
| Next by Thread: | Re: Huge dynamically linked program does not run on mips-linux, Eric Christopher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |