This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix GMP-related build breakage from my double-int patch.
- From: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- To: Brooks Moses <brooks dot moses at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 May 2007 23:23:29 -0400 (EDT)
- Subject: Re: [patch] Fix GMP-related build breakage from my double-int patch.
- References: <4.3.1.2.20070502191055.02a00140@cits1.stanford.edu>
On Wed, 2 May 2007, Brooks Moses wrote:
> As Hans-Peter Nilsson pointed out, my recent patch to double-int.h broke
> the build for systems with non-standard GMP installations, because I put
> a "#include <gmp.h>" line in double-int.h, and double-int.h is included
> in system.h, and system.h is used during the initial configure
> process. This is discussed in more detail here:
> http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00002.html
>
> This patch fixes that breakage.
>
> 2007-05-02 Brooks Moses <brooks.moses@codesourcery.com>
>
> * system.h: Remove inclusion of double-int.h
> * tree.h: Include double-int.h
> * gengtype.c: Likewise
> * <...>: Likewise
> * Makefile.in: Adjust dependencies on double-int.h
I did a quick C-only --disable-bootstrap "make" with your patch on
solaris2.10 and it fixes the problem I saw in PR31776. I also eyeballed
auto-host.h and the configure results look much better. (You should add
the PR number to the ChangeLog info.)
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu