🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52382

Re: Sun3 fixincludes bug?

#52382
From: Chiaki Ishikawa
Date: Thu, 22 Oct 1992 12:14
41 lines
2178 bytes
I am following up on my original posting.

In article <ISHIKAWA.92Oct21170526@ds5200.personal-media.co.jp> ishikawa@ds5200.personal-media.co.jp (Chiaki Ishikawa) writes:

   Hi.

   We have installed GCC 2.2.2 on our Sun3, SunOS 4.0.3 machine.

   When I tried to compile EMACS using gcc, I found out that fixincludes
   does NOT handle the brain-damaged Sun3 headers (non-ANSI handling of
   arguments in _IO, etc.) anymore. It did handle these problems well in
   2.2.1.

   Does anyone have fix for these problems???

It turns out it is a buggy SED(!) that came with SUN Microsystems JLE
(Japanese Language Environment) which was wreaking havoc :-(.

Someone found a temporay replacement of SED (I am not sure if he used
gnu-emacs SED or not), and now fixincludes seems to work.

I checked the output of, say, Gnu-Emacs sysdeps.c with

gcc -E sysdep.c | grep -v '^#' | grep -v '^$' | grep -v '^ $' > /tmp/g.c
cc -E sysdep.c | grep -v '^#' | grep -v '^$' | grep -v '^ $' > /tmp/o.c
diff -wc /tmp/g.c /tmp/o.c

And found that now it produces identical output (module some
whitespace differences).

I have been telling SUN people to install Japanese modification stuff
on their computers in U.S.A. so that bugs in the Japanese localization
will be caught earlier. Tsk, tsk...

Thank you again for your attention, and sorry that it was non-GNU
software's bug.



Regards,
Technical Details
Message-ID: <ISHIKAWA.92Oct22211431@ds5200.personal-media.co.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmcgw!ds5200.personal-media.co.jp
References: <ISHIKAWA.92Oct21170526@ds5200.personal-media.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,dcc060d64d3f8f2
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-10-22 07:44:32 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!pmcgw!ds5200.personal-media.co.jp
From: ishikawa@ds5200.personal-media.co.jp (Chiaki Ishikawa)
Newsgroups: gnu.gcc.help
Subject: Re: Sun3 fixincludes bug?
Message-ID: <ISHIKAWA.92Oct22211431@ds5200.personal-media.co.jp>
Date: 22 Oct 92 12:14:31 GMT
References: <ISHIKAWA.92Oct21170526@ds5200.personal-media.co.jp>
Sender: news@pmcgw.personal-media.co.jp
Reply-To: ishikawa@personal-media.co.jp
Organization: Personal Media Corp., Tokyo Japan
Lines: 42
Nntp-Posting-Host: ds5200
In-reply-to: ishikawa@ds5200.personal-media.co.jp's message of 21 Oct 92 08:05:26 GMT