public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.
@ 2005-04-26  2:46 kunisawa at access dot co dot jp
  2005-04-26  4:18 ` [Bug bootstrap/21230] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: kunisawa at access dot co dot jp @ 2005-04-26  2:46 UTC (permalink / raw)
  To: gcc-bugs

I am using Sun Forte to bootstrap gcc-4.0.0.
A config script does not work unless GCC is set.
Here is a patch to fix the problem.

--- config/warnings.m4.0        Mon Jan 24 04:21:24 2005
+++ config/warnings.m4  Tue Apr 26 11:06:52 2005
@@ -50,7 +50,7 @@
 AC_SUBST([WARN_PEDANTIC])dnl
 AS_VAR_PUSHDEF([acx_Pedantic], [acx_cv_prog_cc_pedantic_$1])dnl
 WARN_PEDANTIC=
-AS_IF([test $GCC = yes],
+AS_IF([test "$GCC" = yes],
 [AC_CACHE_CHECK([whether $CC supports -pedantic $1], acx_Pedantic,
 [save_CFLAGS="$CFLAGS"
 CFLAGS="-pedantic $1"

libcpp/configure must be regenerated after the patch is applied.

Best Regards,...

-- 
           Summary: gcc-4.0.0 bootstrap failed unless bootstrap compiler is
                    gcc.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kunisawa at access dot co dot jp
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
@ 2005-04-26  4:18 ` pinskia at gcc dot gnu dot org
  2005-04-26  4:44 ` kunisawa at access dot co dot jp
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26  4:18 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
  2005-04-26  4:18 ` [Bug bootstrap/21230] " pinskia at gcc dot gnu dot org
@ 2005-04-26  4:44 ` kunisawa at access dot co dot jp
  2005-04-26  4:55 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kunisawa at access dot co dot jp @ 2005-04-26  4:44 UTC (permalink / raw)
  To: gcc-bugs


------- 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
...
<snip>
...
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'
...
<snip>
...
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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
  2005-04-26  4:18 ` [Bug bootstrap/21230] " pinskia at gcc dot gnu dot org
  2005-04-26  4:44 ` kunisawa at access dot co dot jp
@ 2005-04-26  4:55 ` pinskia at gcc dot gnu dot org
  2005-04-26 11:31 ` joseph at codesourcery dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26  4:55 UTC (permalink / raw)
  To: gcc-bugs


------- 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  <joseph@codesourcery.com>

        * 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (2 preceding siblings ...)
  2005-04-26  4:55 ` pinskia at gcc dot gnu dot org
@ 2005-04-26 11:31 ` joseph at codesourcery dot com
  2005-04-26 16:32 ` [Bug bootstrap/21230] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: joseph at codesourcery dot com @ 2005-04-26 11:31 UTC (permalink / raw)
  To: gcc-bugs


------- 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  <joseph@codesourcery.com>
> 
>         * 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (3 preceding siblings ...)
  2005-04-26 11:31 ` joseph at codesourcery dot com
@ 2005-04-26 16:32 ` pinskia at gcc dot gnu dot org
  2005-04-28 13:07 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26 16:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-26 16:31:55
               date|                            |
            Summary|gcc-4.0.0 bootstrap failed  |[4.0/4.1 Regression]
                   |unless bootstrap compiler is|bootstrap failed unless
                   |gcc.                        |bootstrap compiler is gcc.
   Target Milestone|---                         |4.0.1


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (4 preceding siblings ...)
  2005-04-26 16:32 ` [Bug bootstrap/21230] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-04-28 13:07 ` pinskia at gcc dot gnu dot org
  2005-05-01 16:33 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-28 13:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-28 13:07 -------
*** Bug 21263 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zosh at ife dot ee dot ethz
                   |                            |dot ch


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (5 preceding siblings ...)
  2005-04-28 13:07 ` pinskia at gcc dot gnu dot org
@ 2005-05-01 16:33 ` ebotcazou at gcc dot gnu dot org
  2005-05-06  6:11 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-01 16:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-05-01 16:33 -------
Will take care of the patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-04-26 16:31:55         |2005-05-01 16:33:20
               date|                            |


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (6 preceding siblings ...)
  2005-05-01 16:33 ` ebotcazou at gcc dot gnu dot org
@ 2005-05-06  6:11 ` pinskia at gcc dot gnu dot org
  2005-05-12 12:22 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06  6:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-06 06:11 -------
*** Bug 21411 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smm at ipac dot caltech dot
                   |                            |edu


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (7 preceding siblings ...)
  2005-05-06  6:11 ` pinskia at gcc dot gnu dot org
@ 2005-05-12 12:22 ` cvs-commit at gcc dot gnu dot org
  2005-05-12 12:24 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-12 12:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-12 12:22 -------
Subject: Bug 21230

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2005-05-12 12:22:09

Modified files:
	config         : ChangeLog warnings.m4 
	libcpp         : ChangeLog configure 

Log message:
	config/
	PR bootstrap/21230
	* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
	double quotes around GCC variable.
	
	libcpp/
	PR bootstrap/21230
	* configure: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/ChangeLog.diff?cvsroot=gcc&r1=1.64&r2=1.65
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/warnings.m4.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.69&r2=1.70
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.diff?cvsroot=gcc&r1=1.15&r2=1.16



-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (8 preceding siblings ...)
  2005-05-12 12:22 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-12 12:24 ` cvs-commit at gcc dot gnu dot org
  2005-05-12 12:27 ` ebotcazou at gcc dot gnu dot org
  2005-05-18 14:44 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-12 12:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-12 12:24 -------
Subject: Bug 21230

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	ebotcazou@gcc.gnu.org	2005-05-12 12:24:15

Modified files:
	config         : ChangeLog warnings.m4 
	libcpp         : ChangeLog configure 

Log message:
	config/
	PR bootstrap/21230
	* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
	doubles quotes around GCC variable.
	
	libcpp/
	PR bootstrap/21230
	* configure: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.59.8.2&r2=1.59.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/warnings.m4.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.56.2.7&r2=1.56.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.13.6.2&r2=1.13.6.3



-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (9 preceding siblings ...)
  2005-05-12 12:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-12 12:27 ` ebotcazou at gcc dot gnu dot org
  2005-05-18 14:44 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-12 12:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-05-12 12:27 -------
See http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01116.html


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug bootstrap/21230] [4.0/4.1 Regression] bootstrap failed unless bootstrap compiler is gcc.
  2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
                   ` (10 preceding siblings ...)
  2005-05-12 12:27 ` ebotcazou at gcc dot gnu dot org
@ 2005-05-18 14:44 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-18 14:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-18 14:44 -------
*** Bug 21646 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas at florath dot net


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-05-18 14:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-26  2:46 [Bug bootstrap/21230] New: gcc-4.0.0 bootstrap failed unless bootstrap compiler is gcc kunisawa at access dot co dot jp
2005-04-26  4:18 ` [Bug bootstrap/21230] " pinskia at gcc dot gnu dot org
2005-04-26  4:44 ` kunisawa at access dot co dot jp
2005-04-26  4:55 ` pinskia at gcc dot gnu dot org
2005-04-26 11:31 ` joseph at codesourcery dot com
2005-04-26 16:32 ` [Bug bootstrap/21230] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-04-28 13:07 ` pinskia at gcc dot gnu dot org
2005-05-01 16:33 ` ebotcazou at gcc dot gnu dot org
2005-05-06  6:11 ` pinskia at gcc dot gnu dot org
2005-05-12 12:22 ` cvs-commit at gcc dot gnu dot org
2005-05-12 12:24 ` cvs-commit at gcc dot gnu dot org
2005-05-12 12:27 ` ebotcazou at gcc dot gnu dot org
2005-05-18 14:44 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).