🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52661

gcc 2.1 and IRIX

#52661
From: Jon Fields
Date: Fri, 05 Jun 1992 22:42
65 lines
3383 bytes
I am having problems building gcc 2.1 on an SGI Indigo, running
IRIX 4.0.4.

PROBLEM ONE
-----------

If I do a `configure mips-sgi-irix4', then the following happens
after starting the make:


	cc -Wf,-XNg1500  -O1  -g     -I. -I. -I./config \
	  -DGCC_INCLUDE_DIR=\"/u/dsfield/lib/gcc-lib/mips-sgi-irix4/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/include\" \
	  -DGPLUSPLUS_INCLUDE_DIR=\"/u/dsfield/lib/g++-include\" \
	  -DLOCAL_INCLUDE_DIR=\"/u/dsfield/include\" \
	  -DCROSS_INCLUDE_DIR=\"/u/dsfield/lib/gcc-lib/mips-sgi-irix4/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/sys-include\" \
	  -c `echo ./cccp.c | sed 's,^\./,,'`
accom: Warning 100: cccp.c, line 5702: statement not reached
         return 0;
       ----------^
accom: Warning 100: cccp.c, line 7607: statement not reached
         return 0;
       ----------^
Found Uaos u-code in unexpected spot. Perhaps value returned from alloca(3) was not assigned to simple variable. (See alloca man page)
ugen: internal  : at your source line 3969 :  (ugen internal file build.p, line 1463)
                Cannot continue
*** Error code 1

Stop.

PROBLEM TWO
-----------
I tried both commenting out the #include <alloca.h> in config.h, and
running `configure mips-sgi'.  Both of these seemed to solve the alloca
problem, however, there is then a problem with `mips-tfile':

	rm -f tmplibgcc2.a
	set -e; \
	for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2  _lshrdi3 _lshldi3 _ashldi3 _ashrdi3   _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf  _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi  _varargs _eprintf _builtin_new _builtin_New _builtin_del  _bb _shtab _clear_cache _trampoline __main _exit; \
	do \
	  echo ${name}; \
	  ./gcc -O2  -O1  -g -B./ -g1 -G 0 -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
mips-tfile:Non-zero flags encountered in /usr/tmp/cca15861.s filehdr
*** Error code 1

Stop.

Any and all suggestions would be appreciated!


--------------------------------------------------------------------------------
      Jonathan D. Fields          |        WORK           |        HOME
  Technical Development Engineer  |-----------------------+---------------------
Structural Dynamics Research Corp |   dsfield@sdrc.com    |jdf@fields.cin.oh.us
       2000 Eastman Drive         |...!uunet!sdrc!dsfield |...!uunet!fields!jdf
    Milford, Ohio 45150-2789      |-----------------------+---------------------
             U.S.A.               | Tel: (513)-576-2652   | (513)-891-5081
                                  | Fax: (513)-576-5919   |
--------------------------------------------------------------------------------
Technical Details
Message-ID: <169@fields.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!fields!fields.CIN.OH.US

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3da927287f5558f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-06 07:32:30 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!fields!fields.CIN.OH.US
From: jdf@fields.CIN.OH.US (Jon Fields)
Newsgroups: gnu.gcc.help
Subject: gcc 2.1 and IRIX
Message-ID: <169@fields.UUCP>
Date: 5 Jun 92 22:42:06 GMT
Sender: jdf@fields.UUCP
Distribution: na
Organization: 5080 Kugler Mill Rd, Cincinnati, OH 45236
Lines: 65