[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Sat Jun 22 20:57:00 GMT 2013


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

--- Comment #29 from Jan Hubicka <hubicka at ucw dot cz> ---
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038
> 
> --- Comment #28 from Martin Liška <marxin.liska at gmail dot com> ---
> Gdb instruction dump of ScDocument::CalcAll, place where SIGSEGV was received
> is marked with '>', address: 0x2aaab390c19d 
>                                                                             ??
>    ??0x2aaab390c188 <_ZN10ScDocument7CalcAllEv+8>    push   %rbp                
>                                                                                
>                                                                             ??
>    ??0x2aaab390c189 <_ZN10ScDocument7CalcAllEv+9>    mov    %rdi,%rbp           
>                                                                                
>   ??
>   >??0x2aaab390c19d <_ZN10ScDocument7CalcAllEv+29>   mov    0x1c8(%rbp),%rbx    

OK, so it seems to ICE on reading RBP+0x1c8 where RBP is the first parameter of
CalcAll,
so it is necessary to debug why it is wrong.
I think you can just LTO re-link with -g and get source level debugging...
Did you check if non-LTO build works?

Honza


More information about the Gcc-bugs mailing list