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

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