[Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.

2005-04-26 Thread joseph at codesourcery dot com

--- Additional Comments From joseph at codesourcery dot com  2005-04-26 
11:30 ---
Subject: Re:  gcc-4.0.0 bootstrap failed unless bootstrap
 compiler is gcc.

On Tue, 26 Apr 2005, pinskia at gcc dot gnu dot org wrote:

> If this is really a bug, then the following change caused it:
> 2005-01-23  Joseph S. Myers  <[EMAIL PROTECTED]>
> 
> * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
> anything for non-GCC compilers.

4.0 branch and mainline bootstrap fine with non-GCC compilers; that was 
the point of that change.  I'm not sure what shells do or do not work for 
configuration (I presume the submitter is using CONFIG_SHELL=/bin/ksh as 
recommended on Solaris), but I'd expect a problem in syntax of "test" to 
cause just an error return from "test" and configuration to continue fine.  
The proposed patch itself seems correct anyway.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21230


[Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.

2005-04-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 
04:55 ---
If this is really a bug, then the following change caused it:
2005-01-23  Joseph S. Myers  <[EMAIL PROTECTED]>

* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.


-- 
   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org, jsm28 at gcc dot gnu
   ||dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21230


[Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.

2005-04-25 Thread kunisawa at access dot co dot jp

--- Additional Comments From kunisawa at access dot co dot jp  2005-04-26 
04:44 ---
The error is missing libcpp/Makefile during make bootstrap.

% make bootstrap
...

...
checking whether cc supports -Wold-style-definition... no
/tmp/z/gcc-4.0.0/libcpp/configure: test: argument expected
make[1]: Entering directory `/tmp/z/gcc-b400/libiberty'
...

...
make[1]: Leaving directory `/tmp/z/gcc-b400/libiberty'
make[1]: Entering directory `/tmp/z/gcc-b400/libcpp'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/tmp/z/gcc-b400/libcpp'
make: *** [all-libcpp] Error 2
%

ACX_PROG_CC_WARNING_ALMOST_PEDANTIC is used only by
libcpp/configure.ac, so just regenerating libcpp/configure
is fine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21230


[Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.

2005-04-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 
04:15 ---
What was the error?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21230