Skip to content

debug/dwarf: support compressed debug sections #11773

Closed
@qeedquan

Description

@qeedquan

I upgraded to go 1.5 beta2 and get this error when building any cgo libraries
cannot load DWARF output from $WORK/command-line-arguments/_obj//cgo.o: decoding dwarf section info at offset 0x0: too short

even simple programs that just does

package main

// #include <stdio.h>
import "C"

func main() {
    C.puts("test")
}

fails to build for me
Using gcc 4.9.2 on amd64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions