public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp
@ 2004-05-31 22:07 ebotcazou at gcc dot gnu dot org
  2004-05-31 22:25 ` [Bug bootstrap/15744] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-05-31 22:07 UTC (permalink / raw)
  To: gcc-bugs

[eric@localhost obj]$ gcc/xgcc -v
Reading specs from /usr/local/lib/gcc/i586-redhat-linux-gnu/3.5.0/specs
Configured with: ../configure i586-redhat-linux-gnu --prefix=/usr/local
--enable-languages=c,c++,objc,f95,java --enable-checking=misc,rtlflag
--disable-libmudflap
Thread model: posix
gcc version 3.5.0 20040531 (experimental)


./xgcc -B./ -B/usr/local/i586-redhat-linux-gnu/bin/ -isystem
/usr/local/i586-redhat-linux-gnu/include -isystem
/usr/local/i586-redhat-linux-gnu/sys-include -L/home/eric/cvs/gcc/obj/gcc/../ld
-O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include
-I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee
-I../../gcc/../libbanshee/points-to   -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer \
   -c ../../gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
cc1: internal error: target char is less than 8 bits wide
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/eric/cvs/gcc/obj/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/eric/cvs/gcc/obj/gcc'
make: *** [bootstrap] Error 2

-- 
           Summary: The stage1 compiler miscompiles libcpp
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-redhat-linux-gnu
  GCC host triplet: i586-redhat-linux-gnu
GCC target triplet: i586-redhat-linux-gnu


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


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

* [Bug bootstrap/15744] [3.5 Regression] The stage1 compiler miscompiles libcpp
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
@ 2004-05-31 22:25 ` pinskia at gcc dot gnu dot org
  2004-05-31 22:55 ` ebotcazou at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 22:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-31 13:13 -------
I am starting to think that moving libcpp was done prematurely and should not have been done until 
toplevel bootstrap was done.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid, wrong-code
            Summary|The stage1 compiler         |[3.5 Regression] The stage1
                   |miscompiles libcpp          |compiler miscompiles libcpp
   Target Milestone|---                         |3.5.0


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


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

* [Bug bootstrap/15744] [3.5 Regression] The stage1 compiler miscompiles libcpp
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
  2004-05-31 22:25 ` [Bug bootstrap/15744] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-05-31 22:55 ` ebotcazou at gcc dot gnu dot org
  2004-05-31 23:04 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-05-31 22:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-05-31 14:11 -------
Andrew, I just realized that the stage1 compiler doesn't compile libcpp anymore,
right?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/15744] [3.5 Regression] The stage1 compiler miscompiles libcpp
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
  2004-05-31 22:25 ` [Bug bootstrap/15744] [3.5 Regression] " pinskia at gcc dot gnu dot org
  2004-05-31 22:55 ` ebotcazou at gcc dot gnu dot org
@ 2004-05-31 23:04 ` pinskia at gcc dot gnu dot org
  2004-06-01  0:38 ` [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 23:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-31 14:56 -------
Yes libcpp no longer gets built with stage1.

-- 


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-05-31 23:04 ` pinskia at gcc dot gnu dot org
@ 2004-06-01  0:38 ` pinskia at gcc dot gnu dot org
  2004-06-01  0:38 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-01  0:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.5 Regression] The        |[3.5 Regression] libcpp
                   |bootstrap compiler          |versus bootstrap compiler
                   |miscompiles libcpp          |


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-06-01  0:38 ` [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler pinskia at gcc dot gnu dot org
@ 2004-06-01  0:38 ` pinskia at gcc dot gnu dot org
  2004-06-01  9:32 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-01  0:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-01 00:38 -------
*** Bug 15756 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eyal at eyal dot emu dot id
                   |                            |dot au


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-06-01  0:38 ` pinskia at gcc dot gnu dot org
@ 2004-06-01  9:32 ` ebotcazou at gcc dot gnu dot org
  2004-06-04  5:27 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-01  9:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-06-01 09:32 -------
I confirm that the bootstrap compiler is the key: bootstrapping with GCC 2.96
fails while bootstrapping with GCC 3.4.0 succeeds.


-- 


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-06-01  9:32 ` ebotcazou at gcc dot gnu dot org
@ 2004-06-04  5:27 ` pinskia at gcc dot gnu dot org
  2004-06-04  5:28 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-04  5:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-04 05:27 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-04 05:27:48
               date|                            |


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-06-04  5:27 ` pinskia at gcc dot gnu dot org
@ 2004-06-04  5:28 ` pinskia at gcc dot gnu dot org
  2004-06-05  8:00 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-04  5:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-04 05:28 -------
*** Bug 15673 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mckelvey at maskull dot com


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-06-04  5:28 ` pinskia at gcc dot gnu dot org
@ 2004-06-05  8:00 ` bonzini at gnu dot org
  2004-06-12  5:57 ` pinskia at gcc dot gnu dot org
  2004-06-12 11:11 ` eyal at eyal dot emu dot id dot au
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2004-06-05  8:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bonzini at gnu dot org  2004-06-05 08:00 -------
The solutions are two:
1) making bool fail if it is not what the current GCC will use.  This requires 
more configure magic than one would think because e.g. Darwin has a 4-byte bool.

2) removing usage of stdbool.h, which Zack proposed and which I think is a good 
idea (especially before someone starts relying on bool semantics and breaks 
things even more horribly).

Paolo

-- 


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-06-05  8:00 ` bonzini at gnu dot org
@ 2004-06-12  5:57 ` pinskia at gcc dot gnu dot org
  2004-06-12 11:11 ` eyal at eyal dot emu dot id dot au
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-12  5:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-12 05:57 -------
Should be fixed by:
gcc:
        * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
        * configure, config.in: Regenerate.
        * system.h: Unconditionally define bool as unsigned char,
        BOOL_BITFIELD as unsigned int.
        * domwalk.h: Use BOOL_BITFIELD.
libcpp:
        * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
        * configure, config.in: Regenerate.
        * system.h: Unconditionally define bool as unsigned char,
        BOOL_BITFIELD as unsigned int.
        * .cvsignore: New file.        


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


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


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

* [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler
  2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-06-12  5:57 ` pinskia at gcc dot gnu dot org
@ 2004-06-12 11:11 ` eyal at eyal dot emu dot id dot au
  10 siblings, 0 replies; 12+ messages in thread
From: eyal at eyal dot emu dot id dot au @ 2004-06-12 11:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From eyal at eyal dot emu dot id dot au  2004-06-12 11:11 -------
I can confirm that it now builds.

-- 


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


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

end of thread, other threads:[~2004-06-12 11:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-31 22:07 [Bug bootstrap/15744] New: The stage1 compiler miscompiles libcpp ebotcazou at gcc dot gnu dot org
2004-05-31 22:25 ` [Bug bootstrap/15744] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-05-31 22:55 ` ebotcazou at gcc dot gnu dot org
2004-05-31 23:04 ` pinskia at gcc dot gnu dot org
2004-06-01  0:38 ` [Bug bootstrap/15744] [3.5 Regression] libcpp versus bootstrap compiler pinskia at gcc dot gnu dot org
2004-06-01  0:38 ` pinskia at gcc dot gnu dot org
2004-06-01  9:32 ` ebotcazou at gcc dot gnu dot org
2004-06-04  5:27 ` pinskia at gcc dot gnu dot org
2004-06-04  5:28 ` pinskia at gcc dot gnu dot org
2004-06-05  8:00 ` bonzini at gnu dot org
2004-06-12  5:57 ` pinskia at gcc dot gnu dot org
2004-06-12 11:11 ` eyal at eyal dot emu dot id dot au

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