🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2814

GCC 1.36 would not make on 3b1

#2814
From: Kevin O`Gorman
Date: Tue, 09 Jan 1990 04:24
77 lines
3130 bytes
I know this violates your rules on how to report bugs. Life is like that.

I could not make 1.36 on my 3b1.  I complained on USENET and someone
was kind enough to send me the following instructions.  Doing only this,
(and declaring my old 1.35 as the compiler to use) made everything
work right.

I did not know if the author had sent this along, so I thought I would,
just to be sure.  I have >-quoted and edited his mail headers.

>Date: Wed, 3 Jan 90 10:22:08 PST
>From: elroy!csvax.caltech.edu!andy (Andy Fyfe)
>To: kosman!kevin
>Subject: Re: Copy of USENET posting: can't make 1.36 on a 3b1
>Newsgroups: gnu.gcc.bug
>Organization: California Institute of Technology

I fixed the gnulib problem as follows:
	CCLIBFLAGS = -B/usr/local/lib/gcc- -tp -Wp,-traditional

As for the rest, here are the patches I used to get gcc up and running:

*** config/tm-3b1.h	Sun Sep 24 21:34:24 1989
--- fixes/tm-3b1.h	Wed Sep 27 08:10:05 1989
***************
*** 148,161 ****
  #undef ASM_OUTPUT_SKIP
  #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
!   if (in_section == text_section)                                           \
      {									    \
!       int i;								    \
!       for (i = 0; i < (SIZE); i += 20)					    \
  	fprintf (FILE, "\tbyte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"); \
!       if (i < (SIZE))							    \
          {								    \
  	  fprintf (FILE, "\tbyte 0");					    \
  	  i++;								    \
! 	  for (; i < (SIZE); i++)					    \
  	    fprintf (FILE, ",0");					    \
  	  fprintf (FILE, "\n");						    \
--- 148,162 ----
  #undef ASM_OUTPUT_SKIP
  #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
!   if (is_text_section ())						    \
      {									    \
!       int i, _skip_size;						    \
!       _skip_size = (SIZE);						    \
!       for (i = 0; i <= _skip_size-20; i += 20)				    \
  	fprintf (FILE, "\tbyte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"); \
!       if (i < _skip_size)						    \
          {								    \
  	  fprintf (FILE, "\tbyte 0");					    \
  	  i++;								    \
! 	  for (; i < _skip_size; i++)					    \
  	    fprintf (FILE, ",0");					    \
  	  fprintf (FILE, "\n");						    \
*** varasm.c	Sun Sep 24 21:34:06 1989
--- fixes/varasm.c	Wed Sep 27 08:09:57 1989
***************
*** 96,99 ****
--- 96,105 ----
  }
  
+ int
+ is_text_section ()
+ {
+   return in_section == in_text;
+ }
+ 
  /* Tell assembler to switch to data section.  */
  


-- 
Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com )
voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA  93035
Non-Disclaimer: my boss is me, and he stands behind everything I say.
Technical Details
Message-ID: <9001082024.AA15586@kosman.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!kosman.nrc.com!kevin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!kosman.nrc.com!kevin
From: kevin@kosman.nrc.com (Kevin O`Gorman)
Newsgroups: gnu.gcc.bug
Subject: GCC 1.36 would not make on 3b1
Message-ID: <9001082024.AA15586@kosman.UUCP>
Date: 9 Jan 90 04:24:08 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: kevin%kosman.uucp@nrc.com (Kevin O'Gorman)
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 77