Article View: gnu.gcc.bug
Article #2039Re: GCC 1.31 Sun4, Sys4-3.2 & X.V11R3
From: Keith McNeill
Date: Mon, 05 Dec 1988 16:44
Date: Mon, 05 Dec 1988 16:44
191 lines
7807 bytes
7807 bytes
Hello,
Enclosed is a shell archive with these files:
"gcc_bug" is the original bug report that I sent to gcc_bugs.
"rms" is rms' response to my bug report
The next 7 messages from me contain shell archives of the 7 files that
caused gcc 1.31 to abort. I ran them through the
preprocessor and included only those functions needed to
recreate the bug (per rms' request).
Thanks,
Keith D. McNeill | E.I. du Pont de Nemours & Co.
uunet!eplrx7!mcneill | Experimental Station
(302) 695-7395 | P.O. Box 80357
| Wilmington, Delaware 19880-0357
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: gcc_bug rms
# Wrapped by mcneill@eplrx7 on Mon Dec 5 11:40:59 1988
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'gcc_bug' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'gcc_bug'\"
else
echo shar: Extracting \"'gcc_bug'\" \(4055 characters\)
sed "s/^X//" >'gcc_bug' <<'END_OF_FILE'
XHello,
X
XI tried compiling X.V11R3 with GCC V 1.31 on a Sun4/260 running
XSunOS Sys4-3.2. In the entire make of X.V11R3 I got 7
X
Xgcc: Program cc1 got fatal signal 4.
X
XWhich is:
X
X 4 EINTR Interrupted system call
X
X-------------------------------------------------------------------------------
X
X5 of the fatal signals were caused by -O (i.e. I took out the -O and it
X compilied without a fatal signal.
X
XEXP:
X--------------------------------------------------
XIn X.V11R3/server/dix
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -c -I. -I../include -I../.././X11 colormap.c
Xcolormap.c: In function TellNoMap:
Xcolormap.c:273: warning: `TellNoMap' was declared `extern' and later `static'
X../include/colormap.h:71: warning: previous declaration of `TellNoMap'
Xgcc: Program cc1 got fatal signal 4.
X
X--------------------------------------------------
XIn X.V11R3/server/ddx/mi
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -c -I. -I../../include -I../../.././X11 -DPURDUE milines.c
Xgcc: Program cc1 got fatal signal 4.
X*** Error code 1
X
X--------------------------------------------------
XIn X.V11R3/server/ddx/mi
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -c -I. -I../../include -I../../.././X11 -DPURDUE miarc.c
Xgcc: Program cc1 got fatal signal 4.
X*** Error code 1
X
X--------------------------------------------------
XIn X.V11R3/clients/xfd
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -I../../. -c xfd.c
Xgcc: Program cc1 got fatal signal 4.
X
X--------------------------------------------------
XIn. X.V11R3/clients/xrdb
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -I../../. -DCPP="\"/usr/local/lib/gcc-cpp\"" -c xrdb.c
Xgcc: Program cc1 got fatal signal 4.
X
X--------------------------------------------------
X
X1 of the fatal signals were caused by -traditional
X
X--------------------------------------------------
XIn X.V11R3/server/ddx/sun
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -c -I. -I../../include -I../mfb -I../../dix -I../../.././X11 sunInit.c
Xgcc: Program cc1 got fatal signal 4.
X
X--------------------------------------------------
X
X1 of the fatal signals did not go away with removal of all the
X options (i.e. still got the fatal signal with removal of
X -O -traditional -fcombine-regs -finline-functions -fwritable-strings).
X
X--------------------------------------------------
XIn X.V11R3/fonts/fonts/bdftosnf
X
Xgcc -O -traditional -fcombine-regs -finline-functions -fwritable-strings -I. -I../../. -I../.././server/include -c bdftosnf.c
Xgcc: Program cc1 got fatal signal 4.
X
X-------------------------------------------------------------------------------
X
XI'm not quite sure what to do now. With the complexity of the X11 build I
Xdon't see how I could just send you the source files and the include files
Xwithout using up a huge amount of network bandwidth. I see 2 possible
Xoptions for you to reproduce these errors:
X
X1) I could send you the X.V11R3 config files that I used and you could
X build X11 on your Sun4 machine.
X
X2) I could send you the output of gcc -E. Then hopefully all you would have
X to do is gcc -all-the-options-that-I-used file.i to reproduce the
X fatal error.
X
XLet me know what you want me to send....or do you have a better idea?
X
X-------------------------------------------------------------------------------
X
XI configured gcc with
X
Xconfig.gcc sun4
X
Xwhich produced this output
X
XLinked `config.h' to `xm-sparc.h'.
XLinked `tm.h' to `tm-sun4os3.h'.
XLinked `md' to `sparc.md'.
XLinked `aux-output.c' to `output-sparc.c'.
XLinks are now set up for use with a sun4.
X
XI did a make stage1 & a make stage2. The 2 sets of the .o's
Xwere the same (using cmp).
X
XThanks,
X
X Keith D. McNeill | E.I. du Pont de Nemours & Co.
X eplrx7!mcneill@uunet.uu.net | Experimental Station
X (302) 695-7395 | P.O. Box 80357
X | Wilmington, Delaware 19880-0357
END_OF_FILE
if test 4055 -ne `wc -c <'gcc_bug'`; then
echo shar: \"'gcc_bug'\" unpacked with wrong size!
fi
# end of 'gcc_bug'
fi
if test -f 'rms' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'rms'\"
else
echo shar: Extracting \"'rms'\" \(1128 characters\)
sed "s/^X//" >'rms' <<'END_OF_FILE'
XFrom uunet!wheaties.ai.mit.edu!rms Fri Dec 2 21:18:13 1988
XReturn-Path: <uunet!wheaties.ai.mit.edu!rms>
XReceived: by chip_and_dips.com (3.2/SMI-3.2)
X id AA29113; Fri, 2 Dec 88 21:18:12 EST
XReceived: from sugar-bombs.ai.mit.edu by uunet.UU.NET (5.59/1.14)
X id AA06850; Fri, 2 Dec 88 21:10:55 EST
XReceived: by sugar-bombs.ai.mit.edu; Fri, 2 Dec 88 21:11:12 EST
XDate: Fri, 2 Dec 88 21:11:12 EST
XFrom: uunet!wheaties.ai.mit.edu!rms (Richard Stallman)
XMessage-Id: <8812030211.AA01105@sugar-bombs.ai.mit.edu>
XTo: eplrx7!mcneill
XIn-Reply-To: <8812021918.AA26913@chip_and_dips.com> (eplrx7!mcneill's message of Fri, 2 Dec 88 14:18:48 EST)
XSubject: GCC 1.31 Sun4, Sys4-3.2 & X.V11R3
XStatus: R
X
XIt is a lot of work to get set up to compile X11R3 just to work on
Xthese bugs. Can you please send actual testable test cases? Turn
Xeach source file into CPP output, then delete all functions except the
Xone in which the crash happens. Use the -Q switch to tell GCC to
Xprint each function name as it begins compiling that function.
XSend these reports to bug-gcc@prep.ai.mit.edu, not just to me,
Xsince probably Tiemann will work on them.
X
X
END_OF_FILE
if test 1128 -ne `wc -c <'rms'`; then
echo shar: \"'rms'\" unpacked with wrong size!
fi
# end of 'rms'
fi
echo shar: End of shell archive.
exit 0
Technical Details
Message-ID:
<8812051644.AA08459@chip_and_dips.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!UUNET.UU.NET!eplrx7!mcneillShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!UUNET.UU.NET!eplrx7!mcneill From: eplrx7!mcneill@UUNET.UU.NET (Keith McNeill) Newsgroups: gnu.gcc.bug Subject: Re: GCC 1.31 Sun4, Sys4-3.2 & X.V11R3 Message-ID: <8812051644.AA08459@chip_and_dips.com> Date: 5 Dec 88 16:44:32 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 190