-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Milestone
@orian Output of
Description
Go version
go version go1.25.0 darwin/arm64
same problem observed on go1.24.5 darwin/arm64
Output of go env
in your module/workspace:
AR='ar' CC='clang' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' CXX='clang++' GCCGO='gccgo' GO111MODULE='' GOARCH='arm64' GOARM64='v8.0' GOAUTH='netrc' GOBIN='' GOCACHE='/Users/orian/Library/Caches/go-build' GOCACHEPROG='' GODEBUG='' GOENV='/Users/orian/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/xs/3v6gwv_x7tdggvj69fn3n6kw0000gn/T/go-build3997601179=/tmp/go-build -gno-record-gcc-switches -fno-common' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMOD='/Users/orian/workspace/ducks/go.mod' GOMODCACHE='/Users/orian/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/orian/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/Users/orian/Library/Application Support/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.25.0' GOWORK='' PKG_CONFIG='pkg-config'
What did you do?
create simple program that imports DucksDB library:
package main
import (
"fmt"
_ "github.com/marcboeker/go-duckdb/v2"
)
func main() {
fmt.Println("Hello ducks.")
}
run it through go run
but fail to build it through go build
What did you see happen?
# github.com/orian/ducks
/usr/local/go/pkg/tool/darwin_arm64/link: /usr/local/go/pkg/tool/darwin_arm64/link: combining dwarf failed: no room to add dwarf info. Need at least 1112 padding bytes, found 904
What did you expect to see?
A binary to compile.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done