From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19391 invoked by alias); 22 Jun 2013 20:57:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19355 invoked by uid 55); 22 Jun 2013 20:57:32 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57038] Latest libreoffice compilation fails with enabled LTO Date: Sat, 22 Jun 2013 20:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg01238.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57038 --- Comment #29 from Jan Hubicka --- > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57038 >=20 > --- Comment #28 from Martin Li=C5=A1ka --- > Gdb instruction dump of ScDocument::CalcAll, place where SIGSEGV was rece= ived > is marked with '>', address: 0x2aaab390c19d=20 > = ?? > ??0x2aaab390c188 <_ZN10ScDocument7CalcAllEv+8> push %rbp=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > = ?? > ??0x2aaab390c189 <_ZN10ScDocument7CalcAllEv+9> mov %rdi,%rbp=20= =20=20=20=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > ?? > >??0x2aaab390c19d <_ZN10ScDocument7CalcAllEv+29> mov 0x1c8(%rbp),%= rbx=20=20=20=20 OK, so it seems to ICE on reading RBP+0x1c8 where RBP is the first paramete= r 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 >>From gcc-bugs-return-424860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 22 20:59:25 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20451 invoked by alias); 22 Jun 2013 20:59:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20417 invoked by uid 48); 22 Jun 2013 20:59:22 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57038] Latest libreoffice compilation fails with enabled LTO Date: Sat, 22 Jun 2013 20:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg01239.txt.bz2 Content-length: 161 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 --- Comment #30 from Jan Hubicka --- BTW the first parameter is this pointer ;)