public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24934]  New: profilebootstrap failure with debugging disabled
@ 2005-11-18 20:16 rguenth at gcc dot gnu dot org
  2005-11-18 20:17 ` [Bug target/24934] " rguenth at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:16 UTC (permalink / raw)
  To: gcc-bugs

profilebootstrap with CFLAGS="-O2" BOOT_CFLAGS="-O2" fails with

/tmp/ccloJJLt.s: Assembler messages:
/tmp/ccloJJLt.s:138: Warning: Corrupted unwind info due to unsupported section
switching
/tmp/ccloJJLt.s:747: Internal error!
Assertion failure in ia64_estimate_size_before_relax at
../../gas/config/tc-ia64.c line 3098.
Please report this bug.

This is related to pr22313, but an extended patch does not fix this problem.


-- 
           Summary: profilebootstrap failure with debugging disabled
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug target/24934] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
@ 2005-11-18 20:17 ` rguenth at gcc dot gnu dot org
  2005-11-18 20:18 ` [Bug target/24934] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2005-11-18 20:17 -------
Created an attachment (id=10278)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10278&action=view)
testcase

Testcase


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
  2005-11-18 20:17 ` [Bug target/24934] " rguenth at gcc dot gnu dot org
  2005-11-18 20:18 ` [Bug target/24934] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-18 20:18 ` rguenth at gcc dot gnu dot org
  2005-11-18 20:19 ` rguenth at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2005-11-18 20:18 -------
Created an attachment (id=10279)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10279&action=view)
profile data 1/2


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
  2005-11-18 20:17 ` [Bug target/24934] " rguenth at gcc dot gnu dot org
@ 2005-11-18 20:18 ` pinskia at gcc dot gnu dot org
  2005-11-18 20:18 ` rguenth at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-18 20:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |22313
            Summary|profilebootstrap failure    |[4.1 Regression]
                   |with debugging disabled     |profilebootstrap failure
                   |                            |with debugging disabled
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-18 20:18 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 20:19 ` rguenth at gcc dot gnu dot org
  2005-11-18 20:28 ` rguenth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2005-11-18 20:19 -------
Created an attachment (id=10280)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10280&action=view)
profile data 2/2


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-11-18 20:19 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 20:28 ` rguenth at gcc dot gnu dot org
  2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2005-11-18 20:28 -------
Grrr, the testcase was created with some older binutils.  Trying to create one
with one that matches the reported error.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-11-18 20:28 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
  2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2005-11-18 20:59 -------
Created an attachment (id=10282)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10282&action=view)
testcase

new testcase.  Compile with

stage1/cc1 -fpreprocessed c-lex.i -quiet -dumpbase c-lex.i -auxbase-strip
c-lex.o -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition
-Wmissing-format-attribute -Werror -version -fprofile-use
-freorder-blocks-and-partition -fno-common -o /tmp/cciU35Gj.s
GNU C version 4.1.0 20051116 (experimental) (SUSE Linux)
(ia64-unknown-linux-gnu)
        compiled by GNU C version 4.1.0 20051116 (experimental) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 1c9d4c0e30064cb5ef51bb1a6548d214
 stage1/as -x -o c-lex.o /tmp/cciU35Gj.s
/tmp/cciU35Gj.s: Assembler messages:
/tmp/cciU35Gj.s:308: Warning: Corrupted unwind info due to unsupported section
switching
/tmp/cciU35Gj.s:4760: Internal error!
Assertion failure in ia64_estimate_size_before_relax at
../../gas/config/tc-ia64.c line 3098.
Please report this bug.

not using -freorder-blocks-and-partition fixes the problem.  Adding -g
does not make a difference.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10278|0                           |1
        is obsolete|                            |


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
  2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2005-11-18 20:59 -------
Created an attachment (id=10283)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10283&action=view)
profile data 1/2


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10279|0                           |1
        is obsolete|                            |


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
  2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 21:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2005-11-18 21:00 -------
Created an attachment (id=10285)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10285&action=view)
wrong assembly


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
  2005-11-18 21:01 ` rguenth at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 21:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2005-11-18 21:00 -------
Created an attachment (id=10284)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10284&action=view)
profile data 2/2


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10280|0                           |1
        is obsolete|                            |


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 21:01 ` rguenth at gcc dot gnu dot org
  2005-11-18 21:02 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 21:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2005-11-18 21:01 -------
Arguably an as bug, but maybe we should not use -freorder-blocks-and-partition
on ia64 profiledbootstrap.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-11-18 21:01 ` rguenth at gcc dot gnu dot org
@ 2005-11-18 21:02 ` pinskia at gcc dot gnu dot org
  2005-11-18 21:07 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-18 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2005-11-18 21:02 -------
So if -g does not fix it, then this is not related at all to PR 22313.
We should just disable --freorder-blocks-and-partition if gas is unwilling to
support unwind info when the section changes.

See http://sources.redhat.com/bugzilla/show_bug.cgi?id=994 for when the warning
was introduced and more information on this bug.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-11-18 21:02 ` pinskia at gcc dot gnu dot org
@ 2005-11-18 21:07 ` rguenth at gcc dot gnu dot org
  2005-11-19  2:22 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-18 21:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2005-11-18 21:07 -------
See http://sources.redhat.com/bugzilla/show_bug.cgi?id=994 for the binutils
bug.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure with debugging disabled
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-11-18 21:07 ` rguenth at gcc dot gnu dot org
@ 2005-11-19  2:22 ` mmitchel at gcc dot gnu dot org
  2005-11-19 10:39 ` [Bug target/24934] [4.1 Regression] profilebootstrap failure rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-11-19  2:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mmitchel at gcc dot gnu dot org  2005-11-19 02:22 -------
This is too obscure to be release-critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2005-11-19  2:22 ` mmitchel at gcc dot gnu dot org
@ 2005-11-19 10:39 ` rguenth at gcc dot gnu dot org
  2005-11-19 16:22 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-19 10:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rguenth at gcc dot gnu dot org  2005-11-19 10:38 -------
Changing the summary to reflect reality and remove some of the obscure-ness. 
Mark, what was the obscureness you are refering to?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
            Summary|[4.1 Regression]            |[4.1 Regression]
                   |profilebootstrap failure    |profilebootstrap failure
                   |with debugging disabled     |


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2005-11-19 10:39 ` [Bug target/24934] [4.1 Regression] profilebootstrap failure rguenth at gcc dot gnu dot org
@ 2005-11-19 16:22 ` pinskia at gcc dot gnu dot org
  2005-11-19 17:34 ` mark at codesourcery dot com
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-19 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2005-11-19 16:22 -------
(In reply to comment #13)
> Changing the summary to reflect reality and remove some of the obscure-ness. 
> Mark, what was the obscureness you are refering to?

well both using BOOT_CFLAGS and profiledbootstrap together is less likely than
just bootstrap and using BOOT_CFLAGS.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2005-11-19 16:22 ` pinskia at gcc dot gnu dot org
@ 2005-11-19 17:34 ` mark at codesourcery dot com
  2005-11-20  0:38 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: mark at codesourcery dot com @ 2005-11-19 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from mark at codesourcery dot com  2005-11-19 17:34 -------
Subject: Re:  [4.1 Regression] profilebootstrap failure

rguenth at gcc dot gnu dot org wrote:
> ------- Comment #13 from rguenth at gcc dot gnu dot org  2005-11-19 10:38 -------
> Changing the summary to reflect reality and remove some of the obscure-ness. 
> Mark, what was the obscureness you are refering to?

Sorry, that was indeed unclear.

I don't consider building the compiler with profiledbootstrap to be a
fundamental usage model.  Most people don't do it, and there's an easy
work-around: build with normal bootstrap.


-- 


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


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

* [Bug target/24934] [4.1 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2005-11-19 17:34 ` mark at codesourcery dot com
@ 2005-11-20  0:38 ` pinskia at gcc dot gnu dot org
  2005-11-23  0:16 ` [Bug target/24934] [4.1/4.2 " wilson at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-20  0:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from pinskia at gcc dot gnu dot org  2005-11-20 00:38 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-20 00:38:48
               date|                            |


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


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

* [Bug target/24934] [4.1/4.2 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2005-11-20  0:38 ` pinskia at gcc dot gnu dot org
@ 2005-11-23  0:16 ` wilson at gcc dot gnu dot org
  2005-11-23  0:20 ` wilson at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-11-23  0:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from wilson at gcc dot gnu dot org  2005-11-23 00:16 -------
The hot/cold section partitioning stuff has no support for generating unwind
info.

See for instance in opts.c where this is turned off when flag_exceptions is
true, which means it is always turned off by default for C++.  This is because
C++ requires unwind info for the EH support, and we can't generate correct
unwind info when host/cold section partitioning is on.  This is true for all
targets.

The reason why there is an IA-64 issue here is because unwind info is a
required part of the ABI.  We must always generate unwind info, even for C, and
thus this option is never safe on IA-64.  But it will work for all other
targets as they don't require unwind info for C code.

I believe the correct fix here is to turn off the hot/cold partitioning support
when flag_unwind_tables is defined.  This is turned on by default in the IA-64
backend.  This can also be turned on by the user.

There are also some peripheral issues here.  We should reconsider whether
profiledbootstrap should include an option that does not support all targets
and all languages.  This could be trouble later.  Also, the IA-64 assembler
should not be core dumping here.


-- 

wilson at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |wilson at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-11-20 00:38:48         |2005-11-23 00:16:39
               date|                            |


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


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

* [Bug target/24934] [4.1/4.2 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2005-11-23  0:16 ` [Bug target/24934] [4.1/4.2 " wilson at gcc dot gnu dot org
@ 2005-11-23  0:20 ` wilson at gcc dot gnu dot org
  2005-12-06  5:31 ` wilson at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-11-23  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from wilson at gcc dot gnu dot org  2005-11-23 00:20 -------
Created an attachment (id=10320)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10320&action=view)
Turn off partitioning optimization when flag_unwind_tables true.

Suggested untested patch.  Gives different message for user requested unwind
info versus target requested unwind info.  This part is optional, and only
affects IA-64 when flag_unwind_tables is the default.


-- 


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


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

* [Bug target/24934] [4.1/4.2 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2005-11-23  0:20 ` wilson at gcc dot gnu dot org
@ 2005-12-06  5:31 ` wilson at gcc dot gnu dot org
  2005-12-06  5:41 ` wilson at gcc dot gnu dot org
  2005-12-06  5:55 ` wilson at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-12-06  5:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from wilson at gcc dot gnu dot org  2005-12-06 05:31 -------
Subject: Bug 24934

Author: wilson
Date: Tue Dec  6 05:31:39 2005
New Revision: 108103

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108103
Log:
PR target/24934
* opts.c (decode_options): Turn off partitioning if flag_unwind_tables
is set.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/opts.c


-- 


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


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

* [Bug target/24934] [4.1/4.2 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2005-12-06  5:31 ` wilson at gcc dot gnu dot org
@ 2005-12-06  5:41 ` wilson at gcc dot gnu dot org
  2005-12-06  5:55 ` wilson at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-12-06  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from wilson at gcc dot gnu dot org  2005-12-06 05:41 -------
Subject: Bug 24934

Author: wilson
Date: Tue Dec  6 05:41:33 2005
New Revision: 108104

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108104
Log:
PR target/24934
* opts.c (decode_options): Turn off partitioning if flag_unwind_tables
is set.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/opts.c


-- 


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


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

* [Bug target/24934] [4.1/4.2 Regression] profilebootstrap failure
  2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
                   ` (20 preceding siblings ...)
  2005-12-06  5:41 ` wilson at gcc dot gnu dot org
@ 2005-12-06  5:55 ` wilson at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-12-06  5:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from wilson at gcc dot gnu dot org  2005-12-06 05:55 -------
Fixed on mainline and the gcc-4.1 branch.


-- 

wilson at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-12-06  5:55 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 20:16 [Bug target/24934] New: profilebootstrap failure with debugging disabled rguenth at gcc dot gnu dot org
2005-11-18 20:17 ` [Bug target/24934] " rguenth at gcc dot gnu dot org
2005-11-18 20:18 ` [Bug target/24934] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-11-18 20:18 ` rguenth at gcc dot gnu dot org
2005-11-18 20:19 ` rguenth at gcc dot gnu dot org
2005-11-18 20:28 ` rguenth at gcc dot gnu dot org
2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
2005-11-18 20:59 ` rguenth at gcc dot gnu dot org
2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
2005-11-18 21:00 ` rguenth at gcc dot gnu dot org
2005-11-18 21:01 ` rguenth at gcc dot gnu dot org
2005-11-18 21:02 ` pinskia at gcc dot gnu dot org
2005-11-18 21:07 ` rguenth at gcc dot gnu dot org
2005-11-19  2:22 ` mmitchel at gcc dot gnu dot org
2005-11-19 10:39 ` [Bug target/24934] [4.1 Regression] profilebootstrap failure rguenth at gcc dot gnu dot org
2005-11-19 16:22 ` pinskia at gcc dot gnu dot org
2005-11-19 17:34 ` mark at codesourcery dot com
2005-11-20  0:38 ` pinskia at gcc dot gnu dot org
2005-11-23  0:16 ` [Bug target/24934] [4.1/4.2 " wilson at gcc dot gnu dot org
2005-11-23  0:20 ` wilson at gcc dot gnu dot org
2005-12-06  5:31 ` wilson at gcc dot gnu dot org
2005-12-06  5:41 ` wilson at gcc dot gnu dot org
2005-12-06  5:55 ` wilson 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).