🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7291

Re: Warning: Sun f77 1.4 beta clashes with yacc generated C code

#7291
From: Alex Martelli
Date: Wed, 27 Mar 1991 21:35
25 lines
2107 bytes
esri!atlas!simon@uunet.uu.net (Simon Pigot) writes:
:Severe problems occur when using fortran 1.4 beta with C code generated
:using yacc. It seems that fortran 1.4 beta uses a yacc parser to parse
:fortran format specifications. Unfortunately the symbols used by their
:yacc parser conflict with those of any local yacc parsers called - the
:result is total confusion during formatted i/o including spurious error

Yes, I have met the same bug in the production release of 1.3 (by linking
with Ingres, which *also* had the same egregious oversight!).  Sun support
quickly reproduced and acknowledged the bug, and I had a patch tape in
hand in a few days.  As a temporary workaround, in the meantime, I had
used a copy of the library, patched with Perl (...do NOT trust any normal
text-oriented tool, such as sed, to patch a binary file... but Perl's
fine).

I share your hope that Sun realizes the true severity of this minor bug...
true, the usual case of user-written yacc code can be worked around easily
enough, but patching vendor-supplied binaries is not to everybody's
taste... besides the waste of time and energy in finding out what's
happening in the first place!

Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 53, Bologna, Italia
Email: (work:) martelli@cadlab.sublink.org, (home:) alex@am.sublink.org
Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; 
Fax: ++39 (51) 366964 (work only), Fidonet: 332/401.3 (home only).
Technical Details
Message-ID: <2221@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: martelli@cadlab.sublink.org (Alex Martelli)
Newsgroups: comp.sys.sun
Subject: Re: Warning: Sun f77 1.4 beta clashes with yacc generated C code
Keywords: Software
Message-ID: <2221@brchh104.bnr.ca>
Date: 27 Mar 91 21:35:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 25
Approved: Sun-Spots@rice.edu
X-Original-Date: 25 Mar 91 22:07:20 GMT
X-Refs:  Original: v10n53, Replies: v10n59
X-Sun-Spots-Digest: Volume 10, Issue 67, message 11
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu