🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52654

Re: gcc-1.40 on MVME147 & SYSTEM V/68 R3V5.1 Help

#52654
From: Adams
Date: Thu, 04 Jun 1992 21:05
124 lines
4611 bytes
In article <1992Jun4.024826.16570@daimi.aau.dk> eks@daimi.aau.dk (Eigil Krogh S|rensen) writes:

   Path: THD-News!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic2!dkuug!daimi!eks
   From: eks@daimi.aau.dk (Eigil Krogh S|rensen)
   Newsgroups: gnu.gcc.help
   Keywords: gcc-1.40 147 V/68 R3V5.1
   Date: 4 Jun 92 02:48:26 GMT
   Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
   Lines: 94



>   I'm trying to compile and install  gcc-1.40  on a Motorola system
>   with  MVME147  and UNIX  SYSTEM  V/68  R3V5.1 (+ R3V5FIX)

Condolence!

>   Problem.
>   --------
>
>   When I run the first stage (using orig. cc to compile gcc-1.40) I
>   get the following error:
>
>	   cc -c -g   -I. -I. -I./config reload.c
>   "reload.c", line 748: compiler error: out of tree space; simplify expression
>   *** Error code 1
>
>   Stop.

This is a common and widespread problem. cc was generated with tables set up
too small, just to save space.. 
 
Unused .bss does neither require space on disk nor in memory.....One
point more Motorola should have thought about twice.

>
> Question.
>  ---------
>
>   Are there sombody who has had the same error and who knows what to do.
>
Sure, we. And we might offer help, see below.

>   If so I would be very pleased to hear about it.

Nice to talk to you all on the net, but I prefere more pleasant topics ;->.

     line
>     746	     register rtx addr;
>     747	{
   >>748	  GO_IF_LEGITIMATE_ADDRESS (mode, addr, win);
>     749	  return 0;
>     750	

Well known location. Reduction of conditional expressions kills the
compiler.

>   DBLALIGN=NO
>   FP=M68881
>   FPU=M68881
>   MMU=M68851
>   OPTIM=BOTH
>   STALIGN=NO

Correct.

>   ./configure.gcc delta
>   ---------------------
>
>   Linked `config.h' to `./config/xm-delta68k.h'.
>   Linked `tm.h' to `./config/tm-delta68k.h'.
>   Linked `md' to `./config/m68k.md'.
>   Linked `aux-output.c' to `./config/out-m68k.c'.
>   Links are now set up for use with a delta.

Correct.
>
> HARD_PARAMS_FLAGS=-DNO_SC
>   INSTALL = cp
>   ALLOCA = alloca.o
>   CLIB= -lm881 
>   CONFIG_H = config.h tm.h

Correct.

A little help we can offer:

	1) Be warned:
	GCC produces position independent jump tables, which are
	to be compiled to "swbeg SIZE". "As" of most of SsysV68 releases
	is not able to compile them to correct object code.

	2) Once I built a crosscompiler on a SGI to compile gcc-1.37.

	3) We succeded in porting gcc-1.37 to SysV68R3V[56]. This 
	required port of gas, as the SysV-as was unstable.
	That of R3V5 was not able to compile jumptables,
	that of R3V6 does not always generate correct offsets
	for "link a6,#xxx".

	This port is not approved by RMS.

	This port is used for 18 month here and has successfully compiled
	GCC-2.0 and GCC-2.1 for sysV68. No major bugs are known.

	4) Executables for gcc-1.37,gas-1.38 and gdb-3.5
	are on "ftp.th-darmstadt.de:/pub/incoming/local_ports/sysV68/"
	
	-rw-r-----   1 ftp      software 4120415 Jan 26 14:32 GCC-1.37.1.THD.TAR.Z
	-rw-r-----   1 ftp      software  569344 Dec 21 18:32 gas-1.38.t.Z
	-rw-r-----   1 ftp      software    8910 Jan 27 15:57 gccinclude.tZ
	-rw-r-----   1 ftp      software 1495040 Dec 21 19:39 gdb-3.5.TH.t.Z
	-rw-r-----   1 ftp      software 3000320 Dec 21 19:19 gnubin.tar
	
	5) Motorola has been informed both about the bugs and
	the port of gcc-1.37 available from us. 

best regards,adams 
	
	(adams@pdv2.fmr.maschinenbau.th-darmstadt.de)
	(gnu@pdv2.fmr.maschinenbau.th-darmstadt.de) [ for GNU related topics]

PS: You should be able to compile gcc-1.40 with our port of 
gcc-1.37 and gas-1.38.1. 
Technical Details
Message-ID: <ADAMS.92Jun4210542@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!THD-News!adams
References: <1992Jun4.024826.16570@daimi.aau.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f3ea910ed5355d7d
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-04 07:48:36 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!THD-News!adams
From: adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams)
Subject: Re: gcc-1.40 on MVME147 & SYSTEM V/68 R3V5.1  Help
Sender: news@infoserver.th-darmstadt.de (The Usenet-News System)
Message-ID: <ADAMS.92Jun4210542@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
In-Reply-To: eks@daimi.aau.dk's message of 4 Jun 92 02: 48:26 GMT
Date: Thu, 4 Jun 1992 21:05:42 GMT
References: <1992Jun4.024826.16570@daimi.aau.dk>
Nntp-Posting-Host: pdv2.fmr.maschinenbau.th-darmstadt.de
Organization: TH-Darmstadt
Lines: 128