🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #4

Compiling X-compiler on RS6000

#4
From: Lars Fredriksen
Date: Tue, 27 Oct 1992 11:32
29 lines
1443 bytes
Hi,
	I comiled gcc 2.2.2 successfully (stage3) on a RS6000 running
AIX 3.2+. When I then tried to use gcc to compile a cross compiler for
i386, it failed.

	The assembler (IBM) dies with the message saying that the 
branch offset computed is to large to fit in the instruction

	bc 12,4,L..1005

	I tried again compiling it without the -g flag, but the same
result occured.

	When I looked at the assembly file (500K big) there are about 
10000 lines of instructions/data between the branch and the label, so
I can't say for sure if there is a problem with gcc or with the assembler.
If the offset in the branch instruction is in bytes, its not the asseblers
fault (10000x4 > 32K), however if the offset is 32 bit alligned then it
is a gcc problem. Oh, by the way, the file that it barfs on in cp-parse.c.

	Has anyone else seen this??


	Thanks a lot,

		Lars Fredriksen

PS: I am trying to get a resulution from IBM wether or not this is an 
assembler bug at the same time.
Technical Details
Message-ID: <9210272332.AA01859@asiago.cs.wisc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.wisc.edu!fredriks

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.wisc.edu!fredriks
From: fredriks@cs.wisc.edu (Lars Fredriksen)
Subject: Compiling X-compiler on RS6000
Message-ID: <9210272332.AA01859@asiago.cs.wisc.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 27 Oct 1992 11:32:45 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 30