Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Petter Reinholdtsen <pere@hungry.com>
To: linux-mips@oss.sgi.com
Subject: Re: linker problem: relocation truncated to fit
Date: Mon, 17 Sep 2001 00:07:19 +0200	[thread overview]
Message-ID: <20010917000719.B25531@false.linpro.no> (raw)
In-Reply-To: <Pine.BSO.4.33.0109161323280.14503-100000@oddbox.cn>

[Wilbern Cobb]
> This is a `feature' of the MIPS toolchain. Global and static items <= n
> bytes are placed into the small data or small bss sections instead of
> the normal data or bss sections as an optimization. Excess items would
> cause these linker errors.
> 
> Pass the compiler the -Gn flag (default is 8 bytes), ie. -G4 should work
> for most purposes.

I tried -G4, -G2 and -G1 without any luck.  Even with -G1 there are still
more than 9300 relocation messages.  (Do I need to compile all the object
files again, by the way?  I've only tried to relink -- it takes 12 hours
to compile :-( ))

Unfortunately, my problem is with is a prorietary software product
(Opera web browser), so I can not send you any source or object files.
:-(

  parent reply	other threads:[~2001-09-16 22:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-16 12:17 linker problem: relocation truncated to fit Petter Reinholdtsen
2001-09-16 16:16 ` H . J . Lu
2001-09-16 16:29   ` Wilbern Cobb
2001-09-16 16:29     ` Wilbern Cobb
2001-09-16 22:07     ` Petter Reinholdtsen [this message]
2001-09-16 22:38       ` Ryan Murray
2001-09-16 22:50         ` H . J . Lu
2001-09-17  1:55           ` Ralf Baechle
2001-09-17 22:40             ` Richard Henderson
2001-09-17 22:53               ` H . J . Lu
2001-09-17 22:56                 ` Richard Henderson
2001-09-17 23:06                   ` H . J . Lu
2001-09-17 23:01                 ` Jakub Jelinek
2001-09-17 22:47           ` Richard Henderson
2001-09-17 22:56             ` Jakub Jelinek
2001-09-20 22:52             ` Geoff Keating
2001-09-26 10:08           ` Erik Corry
2001-09-16 22:50       ` Wilbern Cobb
2001-09-16 22:50         ` Wilbern Cobb
2001-09-17  1:50     ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010917000719.B25531@false.linpro.no \
    --to=pere@hungry.com \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox