public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself
@ 2005-02-08 15:35 bonzini at gcc dot gnu dot org
  2005-02-08 15:36 ` [Bug bootstrap/19818] " bonzini at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-02-08 15:35 UTC (permalink / raw)
  To: gcc-bugs

Warnings in libiberty and libcpp prevent GCC 4.0 from bootstrapping itself,
because libcpp's configure uses -Werror.

The easiest way to reproduce this is to configure GCC 4.0 with
--enable-bootstrap so that libcpp is bootstrapped as well.

Severity is normal and not critical because releases do not use -Werror, but the
bug ought to be fixed before GCC branches.

-- 
           Summary: [4.0 Regression] GCC 4.0 cannot bootstrap itself
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P1
         Component: bootstrap
        AssignedTo: bonzini at gcc dot gnu dot org
        ReportedBy: bonzini at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
                    com


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


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

* [Bug bootstrap/19818] [4.0 Regression] GCC 4.0 cannot bootstrap itself
  2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
@ 2005-02-08 15:36 ` bonzini at gcc dot gnu dot org
  2005-02-08 16:04 ` bonzini at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-02-08 15:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bonzini at gcc dot gnu dot org  2005-02-08 09:18 -------
Created an attachment (id=8139)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8139&action=view)
proposed patch

Pretty obvious patch if it weren't for the hunk in macro.c.

Patch is in stage2 of a toplevel bootstrap now, will post it once it finishes.

-- 


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


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

* [Bug bootstrap/19818] [4.0 Regression] GCC 4.0 cannot bootstrap itself
  2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
  2005-02-08 15:36 ` [Bug bootstrap/19818] " bonzini at gcc dot gnu dot org
@ 2005-02-08 16:04 ` bonzini at gcc dot gnu dot org
  2005-02-08 19:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-02-08 16:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bonzini at gcc dot gnu dot org  2005-02-08 09:19 -------
CCing Geoff since he wrote the hunk I modify in macro.c.  It looks like a pasto,
but I am not sure.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at apple dot com
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-08 09:19:11
               date|                            |


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


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

* [Bug bootstrap/19818] [4.0 Regression] GCC 4.0 cannot bootstrap itself
  2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
  2005-02-08 15:36 ` [Bug bootstrap/19818] " bonzini at gcc dot gnu dot org
  2005-02-08 16:04 ` bonzini at gcc dot gnu dot org
@ 2005-02-08 19:27 ` pinskia at gcc dot gnu dot org
  2005-02-14 15:14 ` cvs-commit at gcc dot gnu dot org
  2005-02-14 15:15 ` bonzini at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-08 19:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.0.0
            Version|unknown                     |4.0.0


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


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

* [Bug bootstrap/19818] [4.0 Regression] GCC 4.0 cannot bootstrap itself
  2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-02-08 19:27 ` pinskia at gcc dot gnu dot org
@ 2005-02-14 15:14 ` cvs-commit at gcc dot gnu dot org
  2005-02-14 15:15 ` bonzini at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-14 15:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-14 08:52 -------
Subject: Bug 19818

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bonzini@gcc.gnu.org	2005-02-14 08:52:25

Modified files:
	include        : ChangeLog ansidecl.h 
	libcpp         : ChangeLog config.in configure configure.ac 
	                 internal.h macro.c pch.c 

Log message:
	include:
	2005-02-08  Paolo Bonzini  <bonzini@gnu.org>
	
	PR bootstrap/19818
	* ansidecl.h (PARAMS): Guard from redefinition.
	
	libcpp:
	2005-02-08  Paolo Bonzini  <bonzini@gnu.org>
	
	PR bootstrap/19818
	* configure.ac: Check for declaration of basename and getopt.
	* config.in: Regenerate.
	* configure: Regenerate.
	* internal.h (ustrcspn): New.
	* macro.c (create_iso_definition): Fix allocation of memory.
	(padding_token): Add cast to remove const-ness.
	* pch.c (cpp_read_state): Use ustrcspn.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ChangeLog.diff?cvsroot=gcc&r1=1.169&r2=1.170
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ansidecl.h.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.51&r2=1.52
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/config.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.diff?cvsroot=gcc&r1=1.12&r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.ac.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/internal.h.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/macro.c.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/pch.c.diff?cvsroot=gcc&r1=1.4&r2=1.5



-- 


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


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

* [Bug bootstrap/19818] [4.0 Regression] GCC 4.0 cannot bootstrap itself
  2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-02-14 15:14 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-14 15:15 ` bonzini at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-02-14 15:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bonzini at gcc dot gnu dot org  2005-02-14 09:12 -------
Patch applied.

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


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


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

end of thread, other threads:[~2005-02-14  9:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 15:35 [Bug bootstrap/19818] New: [4.0 Regression] GCC 4.0 cannot bootstrap itself bonzini at gcc dot gnu dot org
2005-02-08 15:36 ` [Bug bootstrap/19818] " bonzini at gcc dot gnu dot org
2005-02-08 16:04 ` bonzini at gcc dot gnu dot org
2005-02-08 19:27 ` pinskia at gcc dot gnu dot org
2005-02-14 15:14 ` cvs-commit at gcc dot gnu dot org
2005-02-14 15:15 ` bonzini 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).