This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] parallel build fix in libiberty
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: [PATCH] parallel build fix in libiberty
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Fri, 27 Jul 2001 11:58:19 -0400
- CC: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>, gcc-patches at gcc dot gnu dot org, Jeff Johnston <jjohnstn at redhat dot com>
- Organization: Red Hat Inc.
- References: <Pine.BSF.4.33.0107271242280.27414-100000@deneb.dbai.tuwien.ac.at>
Gerald Pfeifer wrote:
>
> On Thu, 26 Jul 2001, J. Johnston wrote:
> > Well, I notice that regex.c has a wide character support check for HAVE_WCHAR_H, HAVE_WCTYPE_H, and
> > HAVE_BTOWC, all of which are not being set by configure. Try applying the attached patch which adds
> > the configure tests, reconfigure, and see if this fixes the problem.
>
> I'm afraid it doesn't:
>
> /sw/test/gcc/cvs/libiberty/regex.c:305: warning: redefinition of `uintptr_t'
> /usr/include/sys/int_types.h:108: warning: `uintptr_t' previously declared here
> /sw/test/gcc/cvs/libiberty/regex.c:423: parse error before "wchar_t"
> /sw/test/gcc/cvs/libiberty/regex.c:614:2: warning: suggest not using #elif in traditional C
> In file included from /sw/test/gcc/cvs/libiberty/regex.c:635:
> /sw/test/gcc/cvs/libiberty/regex.c:614:2: warning: suggest not using #elif in traditional C
>
> sparc-sun-solaris2.8 still won't bootstrap, though if you think the
> patch per se is good, hopefully someone is going to approve it.
>
> Gerald
Gerald,
Can you post the lines containing HAVE_WCHAR_H, HAVE_WCTYPE_H, and HAVE_BTOWC from the config.h
file in your libiberty build directory?
-- Jeff J.