This is the mail archive of the gcc-patches@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]

egcs CVS 19980608, bootstrap fails on sunos4, patch included


	I got the following message when bootstrapping an egcs CVS
checkout from the evening of 6/8/98 on SunOS4 with cc for stage1:

 > cc -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config
 > 	-DUSE_COLLECT2 -DTARGET_NAME=\"sparc-sun-sunos4.1.4\" -c `echo
 > 	./toplev.c | sed 's,^\./,,'`
 > "toplev.c", line 606: cannot initialize extern or union
 > make[2]: *** [toplev.o] Error 1

	Here is a simple patch.


Tue Jun  9 22:35:46 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* toplev.c (flag_new_exceptions): Don't use `extern' keyword in
 	initialization.

--- toplev.c~	Mon Jun  8 21:39:20 1998
+++ toplev.c	Tue Jun  9 09:48:29 1998
@@ -603,7 +603,7 @@ int flag_exceptions;
 /* Nonzero means use the new model for exception handling. Replaces 
    -DNEW_EH_MODEL as a compile option. */
 
-extern int flag_new_exceptions = 0;
+int flag_new_exceptions = 0;
 
 /* Nonzero means don't place uninitialized global data in common storage
    by default.  */
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		Icon CMT Corp.


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