🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1980

Bug in gcc-1.31 on SysV386

#1980
From: Local Development
Date: Thu, 24 Nov 1988 01:38
38 lines
1521 bytes
I just finished compiling gcc-1.31 on my system!! Yeah!! (Thank you,
FSF!).

My system is: Altos 1000 running Unix System 5.3.1b. It's a
386 box.

I made the stage1 and stage2 compilers. Everything was fine.
Running the compare on the object files, I always get:

c-convert.o stage2/c-convert.o differ: char 5, line 1
version.o stage2/version.o differ: char 5, line 1
....
ad nauseam...

That is, every object file differs at char 5, line 1.

Additionally, for each object file xyzzy.o, xyzzy.o and stage2/xyzzy.o
are the same size.

So I did:

cp version.c ho.c
stage2/gcc -g -O -Bstage2/ -c ho.c
mv ho.o ho.o.orig
stage2/gcc -g -O -Bstage2/ -c ho.c
cmp ho.o ho.o.orig
ho.o ho.o.orig differ: char 5, line 1

Examining ho.o and ho.o.orig, the *only* place they differ is character
5, which seems to be set to a random value at each compilation (with the
same compiler!).

Any ideas??? It seems that perhaps some static memory is not getting
correctly initialized...

			---Kayvan

P.S. The generated gcc seems to work just fine.
Technical Details
Message-ID: <8811231738.AA18183@satyr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!APPLE.COM!satyr!local

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!APPLE.COM!satyr!local
From: satyr!local@APPLE.COM (Local Development)
Newsgroups: gnu.gcc.bug
Subject: Bug in gcc-1.31 on SysV386
Message-ID: <8811231738.AA18183@satyr.UUCP>
Date: 24 Nov 88 01:38:37 GMT
Article-I.D.: satyr.8811231738.AA18183
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: satyr!local@apple.com
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 38