This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] (partially) fix lto bootstrap (PR bootstrap/48148)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Apr 2011 19:53:48 -0700
- Subject: Re: [PATCH] (partially) fix lto bootstrap (PR bootstrap/48148)
- References: <20110401211840.GD18914@tyan-ft48-01.lab.bos.redhat.com>
On Fri, Apr 1, 2011 at 2:18 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> richi's lto-cgraph.c change actually didn't do anything, because
> DECL_ABSTRACT_ORIGIN is still NULL there, see PR for details.
> This patch instead doesn't try to force dies for DECL_ABSTRACT_ORIGIN
> DECL_EXTERNAL decls, as dwarf2out isn't prepared to handle them.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux,
> attempted also LTO bootstrap, but it failed in other unrelated
> places (x86_64 somewhere in Ada and i686 because it was trying
> to emit .Ldebug_info0 twice). ?I'll try to look at those later,
> but this is a step forward, approved on IRC by rth.
>
Emitting .Ldebug_info0 twice is caused by revision 171033:
http://gcc.gnu.org/ml/gcc-cvs/2011-03/msg00455.html
--
H.J.