This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New bootstrap failures with remaining clk_* uses
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 1 Jul 2003 06:31:57 +0100
- Subject: Re: New bootstrap failures with remaining clk_* uses
- References: <200307010406.AAA09965@caip.rutgers.edu>
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.