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]
Other format: [Raw text]

Re: 3.1 PATCH: Fix Solaris 2.5.1 <widec.h> to avoid bootstrap failure


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


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