This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.1 PATCH: Fix Solaris 2.5.1 <widec.h> to avoid bootstrap failure
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Bruce Korb <bkorb at pacbell dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Bruce Korb <bkorb at gnu dot org>, libstdc++ at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 29 Apr 2002 21:37:48 +0200 (MEST)
- Subject: Re: 3.1 PATCH: Fix Solaris 2.5.1 <widec.h> to avoid bootstrap failure
- References: <15562.2299.470938.584607@xayide.TechFak.Uni-Bielefeld.DE><3CCA2B78.2C8D7D17@pacbell.net>
Bruce Korb writes:
> > +fix = {
> > + hackname = solaris_widec;
> > + files = widec.h;
> > + mach = '*-*-solaris*';
> > + bypass = "wchar.h";
>
> This will match "wcharXh" anywhere in the file, but that is probably adequate.
I've changed this to
bypass = "include.*wchar\\.h";
to match other bypass instances.
> This file is to be a copy of the patched result.
> The patched result includes the line:
>
> #include <wchar.h>
>
> but you will see that when you run make check :-)
Indeed. Btw., make check reveals an unrelated failure right now:
testing.h /vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/fixinc/tests/base/testing.h differ: char 1716, line 74
--- testing.h Mon Apr 29 21:35:58 2002
+++ /vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/fixinc/tests/base/testing.h Mon Jan 7 19:37:19 2002
@@ -71,7 +71,7 @@
#if defined( MACHINE_NAME_CHECK )
/* MACH_DIFF: */
-#if defined( i386 ) || defined( __sparc__ ) || defined( vax )
+#if defined( __i386__ ) || defined( sparc ) || defined( vax )
/* no uniform test, so be careful :-) */
#endif /* MACHINE_NAME_CHECK */
There were fixinclude test FAILURES
Rainer