🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51410

Problems compiling Elm 2.4[PL21] with gcc 2.4.1

#51410
From: Uncontrollable Convulsion
Date: Sun, 30 May 1993 13:38
30 lines
2026 bytes
I'm getting really odd behaviour compiling Elm 2.4[PL21] on our system
(Sun Sparc, SunOs 4.1.2) since we went to gcc 2.4.1 from gcc 2.3.3

Under 2.3.3 we had no problems with Elm, but since we got 2.4.1, Elm
compiles fine, with no errors, but on running, the header line at the top
of the index screen is corrupt and looks like this :

 is '%s is '%s' with %d messages [ELM %s]' with 344328 messages [ELM
/tsunb/home
/mail/samuele]

I'm rather stumped as to why this should be happening.  Sat around on the
system we have a very ancient copy of gcc (1.37.1), so I tried compiling
Elm with this (coz we'd deleted 2.3.3) to see if it was any better, and lo
and behold, Elm works just fine.  

Now, is there some horrible bug in gcc, ghastly user error in our install
of gcc 2.4.1, or obscure and weird code in Elm which is causing this.

I've tried following Elm with a debugger to see if I can work out what is
happening, but to be honest I have no clue as to quite how the code that
substitutes the arguments into that header line works, so I can't tell
what's going wrong.

Any help would be appreciated, either post if you think everyone would be
interested, or mail me and I'll summarise if anyone wants me to.....

Thanks,

Spasm.
Technical Details
Message-ID: <1993May30.133855.26896@syma.sussex.ac.uk>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!syma!samuele

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6d1dc1178672651,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 10e366,6d1dc1178672651,start
X-Google-Attributes: gid10e366,public
X-Google-ArrivalTime: 1993-05-30 10:14:54 PST
Newsgroups: gnu.gcc.help,comp.mail.elm
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!syma!samuele
From: samuele@cogs.susx.ac.uk (Uncontrollable Convulsion)
Subject: Problems compiling Elm 2.4[PL21] with gcc 2.4.1
Message-ID: <1993May30.133855.26896@syma.sussex.ac.uk>
Sender: root@syma.sussex.ac.uk (Admin)
Nntp-Posting-Host: tsunb-gw.susx.ac.uk
Organization: School of Cognitive Sciences, University of Sussex, UK
Date: Sun, 30 May 1993 13:38:55 GMT
Lines: 30