public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44951]  New: debug info ICE in whopr build due to missing -g at compile time.
@ 2010-07-15 15:16 hubicka at gcc dot gnu dot org
  2010-07-15 15:17 ` [Bug lto/44951] " hubicka at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-15 15:16 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

jh@evans:/abuild/jh/build-mozilla-debug/toolkit/crashreporter/google-breakpad/src/common/dwarf>
/abuild/jh/trunk-install/bin/g++ -fwhopr=24 -fuse-linker-plugin  -fpermissive
-funsigned-char host_bytereader.ii -c
jh@evans:/abuild/jh/build-mozilla-debug/toolkit/crashreporter/google-breakpad/src/common/dwarf>
/abuild/jh/trunk-install/bin/g++ -fwhopr=24 -fuse-linker-plugin -r -nostdlib  
host_bytereader.o -g  -Os
In file included from :9:0:
/abuild/jh/mozilla-central/toolkit/crashreporter/google-breakpad/src/common/dwarf/../../common/dwarf/bytereader-inl.h:
In member function ‘ReadEightBytes’:
/abuild/jh/mozilla-central/toolkit/crashreporter/google-breakpad/src/common/dwarf/../../common/dwarf/bytereader-inl.h:68:15:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/abuild/jh/tmp/ccgMpBje.ltrans0.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status


-- 
           Summary: debug info ICE in whopr build due to missing -g at
                    compile time.
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hubicka at gcc dot gnu dot org
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
  2010-07-15 15:16 [Bug lto/44951] New: debug info ICE in whopr build due to missing -g at compile time hubicka at gcc dot gnu dot org
@ 2010-07-15 15:17 ` hubicka at gcc dot gnu dot org
  2010-07-20 12:21 ` rguenth at gcc dot gnu dot org
  2010-07-20 12:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-15 15:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hubicka at gcc dot gnu dot org  2010-07-15 15:17 -------
Created an attachment (id=21211)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21211&action=view)
testcase


-- 


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


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
  2010-07-15 15:16 [Bug lto/44951] New: debug info ICE in whopr build due to missing -g at compile time hubicka at gcc dot gnu dot org
  2010-07-15 15:17 ` [Bug lto/44951] " hubicka at gcc dot gnu dot org
@ 2010-07-20 12:21 ` rguenth at gcc dot gnu dot org
  2010-07-20 12:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-20 12:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-07-20 12:20 -------
Confirmed.

The issue is that we throw away fields needed for debug info during
free-lang-data when we are not going to generate debug info, but we
crash when those are not available.


-- 

rguenth 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         |2010-07-20 12:20:51
               date|                            |


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


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
  2010-07-15 15:16 [Bug lto/44951] New: debug info ICE in whopr build due to missing -g at compile time hubicka at gcc dot gnu dot org
  2010-07-15 15:17 ` [Bug lto/44951] " hubicka at gcc dot gnu dot org
  2010-07-20 12:21 ` rguenth at gcc dot gnu dot org
@ 2010-07-20 12:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-20 12:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-07-20 12:26 -------
Basically this way you can reproduce all (or most of) formerly fixed -g
issues with LTO.  Unless we decide to stream this information always this
won't be fixed (adding random workarounds in dwarf2out.c doesn't sound good).


-- 


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


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
       [not found] <bug-44951-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-01-10 15:04 ` hubicka at gcc dot gnu.org
@ 2011-01-11 16:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-11 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-11 16:55:37 UTC ---
Assuming fixed.


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
       [not found] <bug-44951-4@http.gcc.gnu.org/bugzilla/>
  2010-10-15  2:42 ` hubicka at gcc dot gnu.org
  2011-01-08 21:34 ` hubicka at gcc dot gnu.org
@ 2011-01-10 15:04 ` hubicka at gcc dot gnu.org
  2011-01-11 16:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-10 15:04 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|45375                       |

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 14:40:45 UTC ---
No longer reproduces during mozilla build.  
Richi, I think we could close this?


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
       [not found] <bug-44951-4@http.gcc.gnu.org/bugzilla/>
  2010-10-15  2:42 ` hubicka at gcc dot gnu.org
@ 2011-01-08 21:34 ` hubicka at gcc dot gnu.org
  2011-01-10 15:04 ` hubicka at gcc dot gnu.org
  2011-01-11 16:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-08 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-08 21:26:01 UTC ---
This seem to work now. Richi, I think you fixed this some time ago by not
zeroing the fields by default?


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

* [Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.
       [not found] <bug-44951-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-15  2:42 ` hubicka at gcc dot gnu.org
  2011-01-08 21:34 ` hubicka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-10-15  2:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-10-15 02:41:58 UTC ---
Hmm, shall we just trim down freeing of lang datastructures to not depend on -g
or simply refuse link LTO objects compiled with -g0 with -g (and convince
Mozilla to update their Makefile?)


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

end of thread, other threads:[~2011-01-11 16:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-15 15:16 [Bug lto/44951] New: debug info ICE in whopr build due to missing -g at compile time hubicka at gcc dot gnu dot org
2010-07-15 15:17 ` [Bug lto/44951] " hubicka at gcc dot gnu dot org
2010-07-20 12:21 ` rguenth at gcc dot gnu dot org
2010-07-20 12:26 ` rguenth at gcc dot gnu dot org
     [not found] <bug-44951-4@http.gcc.gnu.org/bugzilla/>
2010-10-15  2:42 ` hubicka at gcc dot gnu.org
2011-01-08 21:34 ` hubicka at gcc dot gnu.org
2011-01-10 15:04 ` hubicka at gcc dot gnu.org
2011-01-11 16:57 ` rguenth at gcc dot gnu.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).