🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49630

problem building gcc-2.5.7 under SCO

#49630
From: Ulrich Lauther
Date: Fri, 14 Jan 1994 15:43
38 lines
1660 bytes
Trying to install gcc-2.5.7, I used

configure i486-sco
make LANGUAGES=c

I got a problem compiling _divdi3.o from libgcc2.c:

	for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 ....
	[ rest of list deleted ]
	do \
	  echo ${name}; \
	  ./xgcc -B./ -O2   -DIN_GCC   -O -g1 -I. -I. -I./config -c -DL${name} \
	      ./libgcc2.c -o ${name}.o; \
	  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
	  ar rc tmplibgcc2.a ${name}.o; \
	  rm -f ${name}.o; \
	done
_muldi3
_divdi3
xgcc: cc1
*** Error code 1

If I remove the -O and -O2 flags, it seems to work.

Is this a bug?

The initial compilation was done using rcc, but the program in trouble
here seems to be xgcc.


	-ulrich

--
[nosave]
----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZFE BT SE 14    Internet: lauther@ztivax.zfe.siemens.de
                        from ems: lauther@ztivax:tcp-636-18:Mch P Siemens AG
Technical Details
Message-ID: <CJMMCo.MM5@ztivax.zfe.siemens.de>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!Germany.EU.net!ztivax!cayley!lauther

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,21b1b0aa3d284515,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-17 03:59:31 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!Germany.EU.net!ztivax!cayley!lauther
From: lauther@cayley.zfe.siemens.de (Ulrich Lauther)
Subject: problem building gcc-2.5.7 under SCO
Message-ID: <CJMMCo.MM5@ztivax.zfe.siemens.de>
Sender: news@ztivax.zfe.siemens.de (The System Manager)
Nntp-Posting-Host: cayley
Organization: Siemens
X-Newsreader: TIN [version 1.2 PL2]
Date: Fri, 14 Jan 1994 15:43:36 GMT
Lines: 38