[Bug go/68072] malformed DWARF TagVariable entry

2015-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #9 from Ian Lance Taylor --- Thanks very much for taking the time to narrow down the test case. That is nice and simple.

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #10 from Ian Lance Taylor --- FYI, refiled as https://golang.org/issue/13344 and sent out https://golang.org/cl/17151 , a variant of the patch you suggested.

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #11 from ian at gcc dot gnu.org --- Author: ian Date: Fri Nov 20 22:48:47 2015 New Revision: 230685 URL: https://gcc.gnu.org/viewcvs?rev=230685=gcc=rev Log: PR go/68072 cmd/cgo: ignore vars with no name or type if they

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #12 from ian at gcc dot gnu.org --- Author: ian Date: Fri Nov 20 22:49:06 2015 New Revision: 230686 URL: https://gcc.gnu.org/viewcvs?rev=230686=gcc=rev Log: PR go/68072 cmd/cgo: ignore vars with no name or type if they

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 Ian Lance Taylor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-18 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #8 from Dominik Vogt --- Created attachment 36750 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36750=edit Test case This is the requested minimal test program.

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-17 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #7 from Dominik Vogt --- All right, I'll try to extract a minimal test case.

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug go/68072] malformed DWARF TagVariable entry

2015-11-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #5 from Dominik Vogt --- Any opinions on the patch in comment 3?

[Bug go/68072] malformed DWARF TagVariable entry

2015-10-26 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #2 from Ian Lance Taylor --- This is not a known bug. I wonder what is special about this package that it causes it to happen? I don't see anything new in GCC related to DW_AT_specification. I think the place to fix in the Go

[Bug go/68072] malformed DWARF TagVariable entry

2015-10-26 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #3 from Dominik Vogt --- Created attachment 36588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36588=edit Experimental fix The attached patch fixes the problem for us by skipping DW_TAG_variable DWARF info that only contains

[Bug go/68072] malformed DWARF TagVariable entry

2015-10-26 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68072 --- Comment #4 from Dominik Vogt --- @comment 2 I can't see anything special that the file does: -- secp256.go -- package secp256k1 /* #cgo CFLAGS: -I./secp256k1 ... #include "./secp256k1/src/secp256k1.c" */ import "C" -- END -- Then in --

[Bug go/68072] malformed DWARF TagVariable entry

2015-10-26 Thread vogt at linux dot vnet.ibm.com
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