Article View: gnu.gcc.help
Article #53022Re: gcc-2.1 build fails on RS/6000
From: Charles Hannum
Date: Sun, 05 Apr 1992 21:24
Date: Sun, 05 Apr 1992 21:24
20 lines
1604 bytes
1604 bytes
In article <10208@inews.intel.com> tmcconne@sedona.intel.com writes: > >stage1/gcc -g -Bstage1/ -I. -I. -I./config -c insn-extract.c >Assembler: >/usr/tmp/ccX94D71.s: line 88: branch address out of range >make: *** [insn-extract.o] Error 1 This is The GCC Bug that I occasionally make reference to. Basically, GCC is generating relative branches too large. The only way to fix this is to have it calculate instruction lengths, and nobody has been willing to devote the time to write the code for it. (It does this on other machines, like the 386, already. I think the RS/6000 is the only one that's broken.) I'm not sure why you're getting that error compiling GCC itself though. (BTW, in older version of the assembler, it would blindly assemble the bad offset, truncating it. This usually caused mysterious failures of the resulting code.)
Technical Details
Message-ID:
<1992Apr5.212418.182@mintaka.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroftReferences:
<10208@inews.intel.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,aa2f628ef331c707 X-Google-Attributes: gid11318c,public X-Google-Thread: 115614,aa2f628ef331c707 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 1992-04-05 14:24:18 PST Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum) Newsgroups: gnu.gcc.help,comp.unix.aix Subject: Re: gcc-2.1 build fails on RS/6000 Message-ID: <1992Apr5.212418.182@mintaka.lcs.mit.edu> Date: 5 Apr 92 21:24:18 GMT References: <10208@inews.intel.com> Sender: news@mintaka.lcs.mit.edu Organization: /etc/organization Lines: 20