[Bug c++/62303] New: g++ 4.9.1 lto1: internal compiler error: Segmentation fault

2014-08-29 Thread smf.linux at ntlworld dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62303

Bug ID: 62303
   Summary: g++ 4.9.1 lto1: internal compiler error: Segmentation
fault
   Product: gcc
   Version: lto
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: smf.linux at ntlworld dot com

Created attachment 33415
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33415&action=edit
Full details of failure with -wrapper valgind

While build Qt 4.8.6 as a lto build I found the following when building
libQtCLucene.so the rest of the build is ok. If the I swap the optimization
from O3 to O2 the problem goes away. The gcc version is 4.9.1, the binutils is
2.24 built using the instructions from LFS. I have also tried the latest gcc
from git and that behaves the same:

lto1: internal compiler error: Segmentation fault
0x840f5da crash_signal
../../gcc-4.9.1/gcc/toplev.c:337
0x8342b70 lto_get_decl_name_mapping(lto_file_decl_data*, char const*)
../../gcc-4.9.1/gcc/lto-section-in.c:346
0x8340b59 copy_function
../../gcc-4.9.1/gcc/lto-streamer-out.c:1989
0x8340b59 lto_output()
../../gcc-4.9.1/gcc/lto-streamer-out.c:2083
0x8373250 write_lto
../../gcc-4.9.1/gcc/passes.c:2298
0x8375ffa ipa_write_optimization_summaries(lto_symtab_encoder_d*)
../../gcc-4.9.1/gcc/passes.c:2495
0x813cb48 do_stream_out
../../gcc-4.9.1/gcc/lto/lto.c:2464
0x8140b00 stream_out
../../gcc-4.9.1/gcc/lto/lto.c:2506
0x8140b00 lto_wpa_write_files
../../gcc-4.9.1/gcc/lto/lto.c:2643
0x8140b00 do_whole_program_analysis
../../gcc-4.9.1/gcc/lto/lto.c:3302
0x8140b00 lto_main()
../../gcc-4.9.1/gcc/lto/lto.c:3422


[Bug lto/62026] [4.9/5 Regression] Crash in lto_get_decl_name_mapping

2014-08-29 Thread smf.linux at ntlworld dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026

--- Comment #5 from Stuart Foster  ---
(In reply to Markus Trippelsdorf from comment #4)
> *** Bug 62303 has been marked as a duplicate of this bug. ***

Which branch of gcc is this fix in ?

Thanks


[Bug lto/62026] [4.9/5 Regression] Crash in lto_get_decl_name_mapping

2014-08-29 Thread smf.linux at ntlworld dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026

--- Comment #7 from Stuart Foster  ---
(In reply to Markus Trippelsdorf from comment #6)
> (In reply to Stuart Foster from comment #5)
> > (In reply to Markus Trippelsdorf from comment #4)
> > > *** Bug 62303 has been marked as a duplicate of this bug. ***
> > 
> > Which branch of gcc is this fix in ?
> 
> It is not fixed yet.

Sorry miss read comment 3.


[Bug lto/62026] [4.9/5 Regression] Crash in lto_get_decl_name_mapping

2014-09-14 Thread smf.linux at ntlworld dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026

--- Comment #9 from Stuart Foster  ---
Created attachment 33491
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33491&action=edit
Preprocessed chunk of qt 4.8.6 (libQtCLucene.so.4.8.6)


[Bug lto/62026] [4.9/5 Regression] Crash in lto_get_decl_name_mapping

2014-09-14 Thread smf.linux at ntlworld dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026

--- Comment #10 from Stuart Foster  ---
The chunk of code from Qt fails for me with a LFS built g++ 4.9.1 and binutils
2.24.