🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #321

Re: bug in collect.c COFF support

#321
From: Dirk Grunwald
Date: Wed, 02 Aug 1989 03:18
34 lines
1579 bytes
argle - sorry about that. As a side note, I wonder if other people
have noticed a problem with collect when you use -g0 on COFF systems;
an old (I think 1.35 had it, because I had to re-find the bug)
sdbout.c in g++ produced negative sizes for certain structs; this
caused COFF on the Encore multimax.  to barf. Do other people have
this problem? I've fixed sdbout.c & the patches will be in 1.36, but
I'm wondering if this is somethat that should be reported to Encore as
well.

here's a patch for MDT.

*** collect.c	Tue Aug  1 22:14:04 1989
--- collect.c.orig	Tue Aug  1 22:13:47 1989
***************
*** 258,264 ****
       FILE *fp;
       char *filename;
  {
!   LDFILE *ldptr = NULL;
    do {
      if ((ldptr = ldopen(filename, ldptr)) != NULL ) {
        
--- 258,264 ----
       FILE *fp;
       char *filename;
  {
!   LDFILE *ldptr;
    do {
      if ((ldptr = ldopen(filename, ldptr)) != NULL ) {
        

--
Dirk Grunwald -- Univ. of Illinois 		  (grunwald@flute.cs.uiuc.edu)
Technical Details
Message-ID: <GRUNWALD.89Aug1221627@flute.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!flute.cs.uiuc.edu!grunwald
References: <4089@orca.WV.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!flute.cs.uiuc.edu!grunwald
From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald)
Newsgroups: gnu.g++.bug
Subject: Re: bug in collect.c COFF support
Message-ID: <GRUNWALD.89Aug1221627@flute.cs.uiuc.edu>
Date: 2 Aug 89 03:18:36 GMT
References: <4089@orca.WV.TEK.COM>
Sender: news@brutus.cs.uiuc.edu
Reply-To: grunwald@flute.cs.uiuc.edu
Organization: University of Illinois, Urbana-Champaign
Lines: 34
In-reply-to: andrew@frip.WV.TEK.COM's message of 1 Aug 89 23:28:53 GMT