public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2
@ 2004-07-12 22:41 James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-12 22:42 ` [Bug bootstrap/16504] " James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: James dot W dot Mckelvey at jpl dot nasa dot gov @ 2004-07-12 22:41 UTC (permalink / raw)
  To: gcc-bugs

This morning's CVS.

mushroom~...gcc>uname -a
SunOS mushroom 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-2

mushroom~...gcc>gcc -v
Reading specs from /mnt/home3/utilities/lib/gcc/sparc-sun-solaris2.7/3.5.0/specs
Configured with: /mnt/home3/utilities/gcc/configure
--prefix=/mnt/home3/utilities --verbose --with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as --with-gnu-ld
--disable-multilib --enable-languages=c++
Thread model: posix
gcc version 3.5.0 20040621 (experimental)

mushroom~...gcc>alias CONFIGURECVS
setenv CC gcc ; /mnt/home3/utilities/gcc/configure --prefix=/mnt/home3/utilities
--verbose --with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as --with-gnu-ld
--disable-multilib --enable-languages=c++ |& tee clog
mushroom~...gcc> alias BUILD
nice gmake CFLAGS='-O' BOOT_CFLAGS='-O' LIBCFLAGS='-g -O' CXXFLAGS='-O'
LIBCXXFLAGS='-g -O' bootstrap |& tee log


./xgcc -B./ -B/mnt/home3/utilities/sparc-sun-solaris2.7/bin/ -isystem
/mnt/home3/utilities/sparc-sun-solaris2.7/include -isystem
/mnt/home3/utilities/sparc-sun-solaris2.7/sys-include
-L/export/home/mckelvey/utilities/gcc-obj/gcc/../ld -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -I. -I. -I/mnt/home3/utilities/gcc/gcc
-I/mnt/home3/utilities/gcc/gcc/. -I/mnt/home3/utilities/gcc/gcc/../include
-I/mnt/home3/utilities/gcc/gcc/../libcpp/include
-I/mnt/home3/utilities/gcc/gcc/../libbanshee/libcompat
-I/mnt/home3/utilities/gcc/gcc/../libbanshee
-I/mnt/home3/utilities/gcc/gcc/../libbanshee/points-to   \
	-c /mnt/home3/utilities/gcc/gcc/config/sparc/gmon-sol2.c -o gmon.o
/mnt/home3/utilities/gcc/gcc/config/sparc/gmon-sol2.c: In function `monstartup':
/mnt/home3/utilities/gcc/gcc/config/sparc/gmon-sol2.c:168: internal compiler
error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.

-- 
           Summary: ICE in gmon-sol2, stage2
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: James dot W dot Mckelvey at jpl dot nasa dot gov
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.7
  GCC host triplet: sparc-sun-solaris2.7
GCC target triplet: sparc-sun-solaris2.7


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


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

* [Bug bootstrap/16504] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
@ 2004-07-12 22:42 ` James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-12 22:54 ` [Bug bootstrap/16504] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: James dot W dot Mckelvey at jpl dot nasa dot gov @ 2004-07-12 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From James dot W dot Mckelvey at jpl dot nasa dot gov  2004-07-12 22:42 -------
Created an attachment (id=6736)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6736&action=view)
Preprocessed source


-- 


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-12 22:42 ` [Bug bootstrap/16504] " James dot W dot Mckelvey at jpl dot nasa dot gov
@ 2004-07-12 22:54 ` pinskia at gcc dot gnu dot org
  2004-07-13  5:56 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 22:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code
            Summary|ICE in gmon-sol2, stage2    |[3.5 Regression] ICE in
                   |                            |gmon-sol2, stage2
   Target Milestone|---                         |3.5.0


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-12 22:42 ` [Bug bootstrap/16504] " James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-12 22:54 ` [Bug bootstrap/16504] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-07-13  5:56 ` ebotcazou at gcc dot gnu dot org
  2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-13  5:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-13 05:56 -------
Could you explicitly mention the date of your last successful bootstrap when
reporting bootstrap failures on mainline?  [I see that the bootstrap compiler is
gcc version 3.5.0 20040621 (experimental), is that the right date?]


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


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (2 preceding siblings ...)
  2004-07-13  5:56 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
  2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-14 10:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-14 10:37 -------
Confirmed with gcc version 3.5.0 20040714 (experimental) and BOOT_CFLAGS=-O. 
The regular bootstrap (i.e. without setting BOOT_CFLAGS) is not affected.

Note that you should not set CFLAGS when bootstrapping the compiler, because it
may trigger bugs in the bootstrap compiler, which we don't want to mix with bugs
in the bootstrapped compiler.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-14 10:37:08
               date|                            |


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (3 preceding siblings ...)
  2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
  2004-07-14 15:19 ` James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-14 10:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-14 10:37 -------
Investigating.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (4 preceding siblings ...)
  2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-14 15:19 ` James dot W dot Mckelvey at jpl dot nasa dot gov
  2004-07-14 22:09 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: James dot W dot Mckelvey at jpl dot nasa dot gov @ 2004-07-14 15:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From James dot W dot Mckelvey at jpl dot nasa dot gov  2004-07-14 15:19 -------
(In reply to comment #3)
> Confirmed with gcc version 3.5.0 20040714 (experimental) and BOOT_CFLAGS=-O. 
> The regular bootstrap (i.e. without setting BOOT_CFLAGS) is not affected.
> 
> Note that you should not set CFLAGS when bootstrapping the compiler, because it
> may trigger bugs in the bootstrap compiler, which we don't want to mix with bugs
> in the bootstrapped compiler.
> 

I understand. But somebody better fix the instructions on the web site, which
show not only that but -fno-implicit-templates, the subject of another recent
bug report.

http://gcc.gnu.org/install/build.html

If you want to save additional space during the bootstrap and in the final
installation as well, you can build the compiler binaries without debugging
information as in the following example. This will save roughly 40% of disk
space both for the bootstrap and the final installation. (Libraries will still
contain debugging information.)

          make CFLAGS='-O' LIBCFLAGS='-g -O2' \
            LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

It does talk about "non-standard CFLAGS" a few paragraphs below this, but only
in referring to libiberty. It's unclear what is meant by "non-standard".

What is needed is an actual example of a recommended command line.


-- 


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


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

* [Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (5 preceding siblings ...)
  2004-07-14 15:19 ` James dot W dot Mckelvey at jpl dot nasa dot gov
@ 2004-07-14 22:09 ` ebotcazou at gcc dot gnu dot org
  2004-07-15  7:19 ` [Bug target/16504] " ebotcazou at gcc dot gnu dot org
  2004-09-02 21:00 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-14 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-14 22:09 -------
The stage2 compiler (and more precisely reload.c:combine_reloads) is miscompiled
by the stage1 compiler.  The bug stems from a bad interaction between libcalls,
CSE and loop invariant motion that would probably not be easy to fix.

However, I don't want to fix it because it uncovered what appears to be a major
problem in:

2004-07-09  David S. Miller  <davem@nuts.davemloft.net>

	* config/sparc/sparc.h (processor_costs): Define.
	(sparc_costs): Declare.
	* config/sparc/sparc.c (cypress_costs, supersparc_costs,
	hypersparc_costs, sparclet_costs, ultrasparc_costs,
	ultrasparc3_costs): New.
	(sparc_override_options): Set sparc_costs as appropriate.
	(sparc_rtx_costs): Use sparc_costs instead of messy
	conditionals.


The bootstrap failure should go away after this problem is corrected.

-- 


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


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

* [Bug target/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (6 preceding siblings ...)
  2004-07-14 22:09 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-15  7:19 ` ebotcazou at gcc dot gnu dot org
  2004-09-02 21:00 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-15  7:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-15 07:19 -------
> I understand. But somebody better fix the instructions on the web site, which
> show not only that but -fno-implicit-templates, the subject of another recent
> bug report.

Indeed. I'll try to have them changed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target


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


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

* [Bug target/16504] [3.5 Regression] ICE in gmon-sol2, stage2
  2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
                   ` (7 preceding siblings ...)
  2004-07-15  7:19 ` [Bug target/16504] " ebotcazou at gcc dot gnu dot org
@ 2004-09-02 21:00 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-02 21:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-09-02 21:00 -------
David fixed the problem in his patch.


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


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


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

end of thread, other threads:[~2004-09-02 21:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-12 22:41 [Bug bootstrap/16504] New: ICE in gmon-sol2, stage2 James dot W dot Mckelvey at jpl dot nasa dot gov
2004-07-12 22:42 ` [Bug bootstrap/16504] " James dot W dot Mckelvey at jpl dot nasa dot gov
2004-07-12 22:54 ` [Bug bootstrap/16504] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-13  5:56 ` ebotcazou at gcc dot gnu dot org
2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
2004-07-14 10:37 ` ebotcazou at gcc dot gnu dot org
2004-07-14 15:19 ` James dot W dot Mckelvey at jpl dot nasa dot gov
2004-07-14 22:09 ` ebotcazou at gcc dot gnu dot org
2004-07-15  7:19 ` [Bug target/16504] " ebotcazou at gcc dot gnu dot org
2004-09-02 21:00 ` ebotcazou 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).