linux-mips
[Top] [All Lists]

Error: Branch out of range

To: linux@cthulhu.engr.sgi.com
Subject: Error: Branch out of range
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Date: Wed, 15 Mar 2000 16:08:08 +0100 (MET)
Sender: owner-linuxmips@oss.sgi.com
I'm trying to compile lmbench on Linux/MIPS(EL). Gcc (egcs-2.90.27 980315
(egcs-1.0.2 release)) complains about

../bin/linux/lat_ctx.s: Assembler messages:
../bin/linux/lat_ctx.s:4293: Error: Branch out of range
../bin/linux/lat_ctx.s:40459: Error: Branch out of range

At line 4293 it jumps to line 40460 using `j', which is obviously further then
32K instructions apart (and incompatible with -KPIC, which is always[*] used).

How can I fix this?

Gr{oetje,eeting}s,

                                                Geert

[*] Why is MIPS code always compiled PIC?
--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE)
Geert.Uytterhoeven@sonycom.com ------------------- Sint-Stevens-Woluwestraat 55
Voice +32-2-7248638 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium


<Prev in Thread] Current Thread [Next in Thread>