🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2587

Feedback on gcc 1.35 -- Sun 3 and 386i SunOS4.0.1

#2587
From: "Nelson H.F. Beebe"
Date: Sat, 29 Apr 1989 15:58
63 lines
2709 bytes
I've just installed gcc 1.35 on our Sun 3 and 386i systems under
SunOS4.0.1.  On both architectures, the stage[12] regression
tests passed (but see below).

========================================================================
PROBLEM: "make clean" does not remove gnulib; it should, because
otherwise it breaks multi-architecture makes where e.g. the Sun 386i
source tree is a symbolic link into the Sun 3 tree.

========================================================================
PROBLEM: Unlike gcc 1.34 and earlier versions, which were silent on the
matter, gcc 1.35 now issues a warning message when Sun make generates
the -sun3 compile-time option; note that gnumake doesn't generate the
-sun3 option, which might break CC=cc compilations.

make CC=gcc foo
gcc    -sun3 -o foo foo.c
gcc: unrecognized option `-sun3'

make foo
cc    -sun3 -o foo foo.c

gnumake -v foo
GNU Make version 3.45, by Richard Stallman and Roland
McGrath.
Copyright (C) 1988, 1989 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A
PARTICULAR PURPOSE.

cc     foo.c   -o foo

========================================================================
SUGGESTION: Since the stage[12] regression test is very reassuring, I
like to run it during installation of each version of gcc (which I've
done about 20 times now).  It would be nice if there were a make target
to do it automatically.  On Sun 386i systems, there appears to be a time
stamp in the .o files which makes all the cmp's fail.  I get around the
problem with this little script (which could be put in the Makefile,
with suitable adjustment of the cmp offsets):

#!/bin/csh
# Run regression tests for GNU gcc installation (e.g. on Sun 386i)
# Note that a change is implemented in the cmp step below

make stage1

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

make stage2

make CC=stage2/gcc CFLAGS="-g -O -Bstage2/"

# .o files have uniform difference in bytes at offsets 4,5;
# start comparisons beyond that;  bug-gnu-gcc suggests it may be a 
# timestamp
echo "Begin .o file comparisons -- any output indicates ERRORS"
foreach file (*.o)
	cmp $file stage2/$file 6 6
end
-------
Technical Details
Message-ID: <12490025278.16.BEEBE@SCIENCE.UTAH.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!SCIENCE.UTAH.EDU!Beebe

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!SCIENCE.UTAH.EDU!Beebe
From: Beebe@SCIENCE.UTAH.EDU ("Nelson H.F. Beebe")
Newsgroups: gnu.gcc.bug
Subject: Feedback on gcc 1.35 -- Sun 3 and 386i SunOS4.0.1
Message-ID: <12490025278.16.BEEBE@SCIENCE.UTAH.EDU>
Date: 29 Apr 89 15:58:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 63