This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-980221, sunos4 bootstrap failure + patch



  In message <199802241847.NAA20940@caip.rutgers.edu>you write:
  > 	I had some trouble bootstrapping egcs-980221 on
  > sparc-sun-sunos4.1.3 because that platform contains a non-conforming
  > prototype of `free' in stdlib.h, and many new files are now including
  > stdlib.h whereas previously they did not. 
  > 
  >  > cc -c  -DIN_GCC    -g  -DHAVE_CONFIG_H     -I. -I. -I./config ./genattr.
  > c
  >  > "./genattr.c", line 38: redeclaration of free
  >  > make[2]: *** [genattr.o] Error 1
  > 
  > 	The following patch adds NEED_DECLARATION_FREE macros to protect
  > from this whereever I found it necessary for the bootstrap to succeed. 
  > 
  > 		--Kaveh
  > 
  > 
  > 
  > 
  > Tue Feb 24 13:34:46 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  >  
  >         * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
  >         * genattrtab.c: Likewise.
  >         * genconfig.c: Likewise.
  >         * genemit.c: Likewise.
  >         * genextract.c: Likewise.
  >         * genflags.c: Likewise.
  >         * genopinit.c: Likewise.
  >         * genoutput.c: Likewise.
  >         * genpeep.c: Likewise.
  >         * genrecog.c: Likewise.
  >         * tlink.c: Likewise.  Also wrap `getenv' in NEED_DECLARATION_GETENV  > .
Approved.

If you want to wait a litle longer to hash out system.h issues (which
would avoid the need for this patch) that's OK.  We can live with
short term breakage for snapshots.  It's your call.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]