🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54201

Re: Problem with gcc-1.38 on Sun3/60 under SunOS4.1.

#54201
From: Matt Wette
Date: Fri, 11 Jan 1991 00:28
47 lines
2728 bytes
In article <1991Jan10.162642.3055@jato.jpl.nasa.gov>, mwette@mr-ed.jpl.nasa.gov (Matt Wette) writes:
|> I keep running into the following abort with gcc 1.38 on files compiled
|> with -traditional which include /usr/include/X11.  The X11 distribution
|> is X11R4 from MIT.  The following line (with some linewrap edits) is
|> from a make of GNU emacs-18.55.
|> 
|>  % make -f xmakefile CC='gcc -v' xdisp.o
|>  gcc -v -O -Demacs    -traditional  -c  xdisp.c
|>  gcc version 1.38
|>   /usr/local/lib/gcc-cpp -v -Demacs -undef -D__GNUC__ -Dmc68000 -Dsun -Dunix
|>      -D__mc68000__ -D__sun__ -D__unix__ -D__OPTIMIZE__ -traditional
|>      -D__HAVE_68881__ -Dmc
|>  68020 xdisp.c /usr/tmp/cca10121.cpp
|>  GNU CPP version 1.38
|>  gcc: Program cpp got fatal signal 6.
|>  *** Error code 1
|>  make: Fatal error: Command failed for target `xdisp.o'

Thanks to  eirik@theory.TN.CORNELL.EDU  who sent me the following patch:

*** cccp.c~     Sun Dec  9 23:25:29 1990
--- cccp.c      Wed Jan  9 19:28:35 1991
***************
*** 4285,4291 ****
        for (ap = defn->pattern; ap != NULL; ap = ap->next) {
        if (ap->stringify)
          xbuf_len += args[ap->argno].stringified_length;
!       else if (ap->raw_before || ap->raw_after)
          xbuf_len += args[ap->argno].raw_length;
        else
          xbuf_len += args[ap->argno].expand_length;
--- 4285,4291 ----
        for (ap = defn->pattern; ap != NULL; ap = ap->next) {
        if (ap->stringify)
          xbuf_len += args[ap->argno].stringified_length;
!       else if (ap->raw_before || ap->raw_after || traditional)
          xbuf_len += args[ap->argno].raw_length;
        else
          xbuf_len += args[ap->argno].expand_length;



-- 
 _________________________________________________________________
 Matthew R. Wette           | Jet Propulsion Laboratory, 198-326
 mwette@csi.jpl.nasa.gov    | 4800 Oak Grove Dr, Pasadena,CA 91109
 -----------------------------------------------------------------
Technical Details
Message-ID: <1991Jan11.002823.9076@jato.jpl.nasa.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!elroy.jpl.nasa.gov!jato!mr-ed!mwette
References: <1991Jan10.162642.3055@jato.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d54164e309fad9e9
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-01-10 16:28:23 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!elroy.jpl.nasa.gov!jato!mr-ed!mwette
From: mwette@mr-ed.jpl.nasa.gov (Matt Wette)
Newsgroups: gnu.gcc.help
Subject: Re: Problem with gcc-1.38 on Sun3/60 under SunOS4.1.
Message-ID: <1991Jan11.002823.9076@jato.jpl.nasa.gov>
Date: 11 Jan 91 00:28:23 GMT
References: <1991Jan10.162642.3055@jato.jpl.nasa.gov>
Sender: news@jato.jpl.nasa.gov
Reply-To: mwette@mr-ed.jpl.nasa.gov (Matt Wette)
Organization: Jet Propulsion Laboratory, Pasadena, CA
Lines: 47
Nntp-Posting-Host: mr-ed.jpl.nasa.gov