New bootstrap failures with remaining clk_* uses

Neil Booth neil@daikokuya.co.uk
Tue Jul 1 05:32:00 GMT 2003


Kaveh R. Ghazi wrote:-

> Neil,
> 
> Your recent patch broke bootstrap on at least solaris2 and probably
> several other platforms because you didn't catch uses of clk_* in the
> config directory.  E.g. I needed this on solaris2:
> 
> diff -rup orig/egcc-CVS20030630/gcc/config/sol2.h egcc-CVS20030630/gcc/config/sol2.h
> --- orig/egcc-CVS20030630/gcc/config/sol2.h	2003-06-16 09:44:20.000000000 -0400
> +++ egcc-CVS20030630/gcc/config/sol2.h	2003-06-30 23:54:10.060239000 -0400
> @@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA.  */
>  	/* For C++ we need to add some additional macro	\
>  	   definitions required by the C++ standard	\
>  	   library.  */					\
> -	if (c_language == clk_cplusplus)		\
> +	if (c_dialect_cxx())				\
>  	  {						\
>  	    builtin_define ("_XOPEN_SOURCE=500");	\
>  	    builtin_define ("_LARGEFILE_SOURCE=1");	\
> 
> I see about 15-20 others remain.  Would you please fix them all?

Oops, I wasn't aware there were any there.  I'll fix immediately.

Neil.



More information about the Gcc-bugs mailing list