🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52059

Re: Building gcc 2.3.1: opcode "a b,c" error

#52059
From: Jami Bradley
Date: Thu, 25 Feb 1993 15:38
59 lines
3502 bytes
I have been trying to get gcc2.3.3 working on my Sparc 10 (Solaris 1.1,
SunOS 4.1.3) with similar problems.  I call configure with the target
sparc-sun-sunos4.1, then I do the standard "make LANGUAGES=c" and it all starts
going.

When the makefile tries to build tmplibgcc2.a, here is what I see:

-------------------------------------------------------------------------------
rm -f tmplibgcc2.a
set -e; \
for name in _muldi3 _divdi3 ...Many names deleted...; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DIN_GCC   -g  -g1 -I. -I. -I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  /usr/local/bin/ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/usr/tmp/cca02123.s:37:Unknown pseudo-op
/usr/tmp/cca02123.s:37:Rest of line ignored. 1st junk character valued 95.
-------------------------------------------------------------------------------

I get similar messages for every entry in the for loop, as well as "Alignment
too large" messages.  Later on, when make tries to compile enquire.c, I get the
following:

-------------------------------------------------------------------------------
./xgcc -B./ -DIN_GCC -g -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
/usr/tmp/cca02384.s:66:Unknown pseudo-op
/usr/tmp/cca02384.s:66:Rest of line ignored. 1st junk character valued 95.
/usr/tmp/cca02384.s:76:Alignment too large: 4. assumed.
/usr/tmp/cca02384.s:79:Alignment too large: 4. assumed.
/usr/tmp/cca02384.s:83:Unknown pseudo-op
/usr/tmp/cca02384.s:83:Rest of line ignored. 1st junk character valued 95.
/usr/tmp/cca02384.s:84:"Unknown operator" -- Statement 'stb %o1,[%fp-33]' ignored
/usr/tmp/cca02384.s:87:"Unknown operator" -- Statement 'b L250' ignored
/usr/tmp/cca02384.s:93:"Unknown operator" -- Statement 'sethi %hi(_lab),%o1' ignored
/usr/tmp/cca02384.s:94:"Unknown operator" -- Statement 'or %o1,%lo(_lab),%o0' ignored
/usr/tmp/cca02384.s:95:"Unknown operator" -- Statement 'call _setjmp,0' ignored
... About 1000 lines of this deleted ...
-------------------------------------------------------------------------------


I have tried installing binutils 1.9 to see if a new ar or something might help,
but to no avail.  I have also taken gcc 2.3.3 to a Sparc 2 with SunOS 4.1.1,
and that installed without *any* problem.  Unfortunately, the executables
generated from the Sparc 2 generate similar problems on the Sparc 10 (not that
I thought they would work at all!) - so it appears that something is missing
or different on the new OS - it *did not* come on the hard disk, and I
installed it from CD-ROM.

Any help on getting a great set of compilers working would be appreciated!

Thanks,
James Bradley
bradley@cs.colorado.edu
jbradley@den.mmc.com
Technical Details
Message-ID: <1993Feb25.153831.10935@colorado.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!tigger!bradley
References: <1993Feb22.190958.11381@candle.uucp> <1993Feb24.170552.9028@candle.uucp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b5acfd7ef7a21250
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-02-25 07:38:31 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!tigger!bradley
From: bradley@tigger.cs.Colorado.EDU (Jami Bradley)
Subject: Re: Building gcc 2.3.1: opcode "a b,c" error
Message-ID: <1993Feb25.153831.10935@colorado.edu>
Keywords: n
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: tigger.cs.colorado.edu
Organization: University of Colorado, Boulder
References: <1993Feb22.190958.11381@candle.uucp> <1993Feb24.170552.9028@candle.uucp>
Date: Thu, 25 Feb 1993 15:38:31 GMT
Lines: 59