Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Golang build error 0x80000034 (2147483700)

Tags:

go

apple-m1

command I ran: go build -o main

output: /usr/local/go/pkg/tool/darwin_arm64/link: /usr/local/go/pkg/tool/darwin_arm64/link: combining dwarf failed: unknown load command 0x80000034 (2147483700)

go version: go version go1.16.4 darwin/arm64

like image 299
Dhananjay M Avatar asked Sep 06 '25 02:09

Dhananjay M


1 Answers

Have a look at issue #47269.

load command 0x80000034 corresponds to LC_DYLD_CHAINED_FIXUPS. Support for this load command was added in https://go-review.googlesource.com/c/go/+/312729, which is part of Go 1.17.

You should upgrade to Go 1.17 or above.

like image 94
blackgreen Avatar answered Sep 09 '25 21:09

blackgreen