🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54241

Problem building gcc-1.37.1 on Sun 3/60 running SunOS4.1.1

#54241
From: Randy Tidd
Date: Wed, 19 Dec 1990 13:39
41 lines
2185 bytes
I tried to port gcc-1.37.1 to my Sun 3/60 running SunOS 4.1.1. I
configured it for a vanilla Sun 3 (config.gcc sun3), and the first
make went through ok. I got the warnings you're supposed to get and
didn't have any other problems.

I then did a make stage1 and again it went through with no gripes.

When I tried to recompile the compiler with itself with

          make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"

It made it all the way through the 'cc' commands that do the
compiling, but when it got to genflags it gave me this:

./genflags md > tmp-flags.h
sh: 2176 Memory fault - core dumped
*** Error code 139
make: Fatal error: Command failed for target `stamp-flags.h'

I went into dbx to see where it blew up and my stack was over-written.

Just for grins I re-did the installation, assuming that I didn't have
any floating point hardware (i'm about 98% sure that I do) and it blew
up in the exact same place.

Can anyone give me some pointers? I'm currently muddling through the
bug reports and the OS, but I will give up soon and go back to a
tried-and-true version like gcc-1.36.

BTW i'm in the process of building X11R4 and Motif 1.1 on this same
machine, has anyone done this with gcc? With which version? Were you
successful?

Thanks in advance for any info.  Please send anything to me through
e-mail so everyone else on the planet doesn't have to be bothered with
it :-)

Randy Tidd
rtidd@mwunix.mitre.org
"Follow your path, and let people say
 what they want to."                   - Karl Marx
Technical Details
Message-ID: <127382@linus.mitre.org>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!agate!linus!linus!ccels3!rtidd
References: <1990Dec6.160010.27073@shell.shell.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,696aa50831602ca7
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-12-19 05:39:20 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!agate!linus!linus!ccels3!rtidd
From: rtidd@ccels3 (Randy Tidd)
Newsgroups: gnu.gcc.help
Subject: Problem building gcc-1.37.1 on Sun 3/60 running SunOS4.1.1
Message-ID: <127382@linus.mitre.org>
Date: 19 Dec 90 13:39:20 GMT
References: <1990Dec6.160010.27073@shell.shell.com>
Sender: usenet@linus.mitre.org
Reply-To: rtidd@ccels3 (Randy Tidd)
Distribution: gnu.gcc.help
Organization: The Mitre Corporation
Lines: 41