From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31908 invoked by alias); 26 Oct 2015 15:40:51 -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 31454 invoked by uid 48); 26 Oct 2015 15:40:47 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68072] malformed DWARF TagVariable entry Date: Mon, 26 Oct 2015 15:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-10/txt/msg02137.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #1 from Dominik Vogt --- It seems that the DWARF library is unable to handle DW_AT_specification: -- snip -- <1><7b4>: Abbrev Number: 27 (DW_TAG_variable) <7b5> DW_AT_specification: <0x8b> <7b9> DW_AT_decl_file : 13 <7ba> DW_AT_decl_line : 77 <7bb> DW_AT_location : 9 byte block: 3 0 0 0 0 0 0 4 80 (DW_OP_addr: 480) <1><8b>: Abbrev Number: 10 (DW_TAG_variable) <8c> DW_AT_name : (indirect string, offset: 0x3c4): secp256k1_nonce_function_rfc6979 <90> DW_AT_decl_file : 14 <91> DW_AT_decl_line : 104 <92> DW_AT_type : <0x98> <96> DW_AT_external : 1 <97> DW_AT_declaration : 1 -- snip -- DW_AT_name and DW_AT_type are provided by the DW_TAG_variable that the DW_AT_specification attribute is pointing to. Is that a known problem; ist there already a fix? Otherwise I can try to make a patch.