🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52329

Has anyone built gcc-2.3.[12] on a Sequent?

#52329
From: Simon Marshall
Date: Thu, 03 Dec 1992 13:06
45 lines
2312 bytes
Hi there to you all.  I've gotten around to upgrade gcc on our Sequent Symmetry
(S81 running DYNIX V3.0.17.10), but I cannot build using the stage 1 compiler.
Has anybody seen this?

% ./configure i386-sequent-bsd --with-gnu-ld
Linked `config.h' to `./config/xm-i386.h'
Linked `tm.h' to `./config/seq386.h'
Linked `md' to `./config/i386.md'
Linked `aux-output.c' to `./config/i386.c'
Linked `tconfig.h' to `./config/xm-i386.h'
Linked `hconfig.h' to `./config/xm-i386.h'
Created `Makefile'.
Links are now set up for target i386-sequent-bsd.

:
% make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
:
:
stage1/xgcc -Bstage1/ -c  -DIN_GCC   -g -O     -I. -I. -I./config cse.c
Assembler:
"cse.c", line 8479: "fucom" is not followed by a ':' for a label definition
"cse.c", line 9519: "fucom" is not followed by a ':' for a label definition
*** Error code 1

I use gnu-ld since the Sequent's own ld barfs on `-L' (one of the reasons we
built gcc in the first place).  Using our old version of gas does not solve
this problem.  (Incidentally, I also have to build with `-Dstrchr=index
-Dstrrchr=rindex', but that's by-the-by.)  An example of the offending line is:

	:
	.stabd 68,0,4075
	fldl -72(%ebp)
	fucom %st(1)
	fnstsw %ax
	andb $69,%ah
	:

So, can anybody help out here?  Is this a problem with my configuration, our
Sequent, or gcc-2.3.[12]?

Thanks in advance!  Simon.
-- 
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  "Football isn't about life and death.  It's more important than that." Bill
Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465951    Fax: 466666   Shankley
Technical Details
Message-ID: <6173@mccuts.uts.mcc.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!mccuts!ehgasm2

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c9d406e65f419018,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 112c15,c9d406e65f419018,start
X-Google-Attributes: gid112c15,public
X-Google-ArrivalTime: 1992-12-03 17:18:19 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!mccuts!ehgasm2
From: ehgasm2@uts.mcc.ac.uk (Simon Marshall)
Newsgroups: gnu.gcc.help,comp.sys.sequent
Subject: Has anyone built gcc-2.3.[12] on a Sequent?
Summary: Assembler complains about "fucom".
Message-ID: <6173@mccuts.uts.mcc.ac.uk>
Date: 3 Dec 92 13:06:22 GMT
Organization: Manchester Computing Centre, Manchester, England, M13 9PL.
Lines: 45