We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Darwin MacBook-Pro-4.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64
GO111MODULE='on' GOARCH='amd64' GOBIN='' GOCACHE='/Users/***/Library/Caches/go-build' GOENV='/Users/***/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/***/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/***/go' GOPRIVATE='***' GOPROXY='https://goproxy.cn,direct' GOROOT='/Users/edy/sdk/go1.23.1' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/Users/***/sdk/go1.23.1/pkg/tool/darwin_amd64' GOVCS='' GOVERSION='go1.23.1' GODEBUG='' GOTELEMETRY='local' GOTELEMETRYDIR='/Users/***/Library/Application Support/go/telemetry' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='clang' CXX='clang++' CGO_ENABLED='0' GOMOD='/Users/***/code/netease-cloud-music/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -arch x86_64 -m64 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/d2/b3x_gdyn3q3c0p4fn_tn4_fm0000gn/T/go-build3557165108=/tmp/go-build -gno-record-gcc-switches -fno-common'
$xgo --targets=linux/amd64 ./cmd/app/main.go Checking docker installation... Client: Version: 27.3.1 API version: 1.47 Go version: go1.22.7 Git commit: ce12230 Built: Fri Sep 20 11:38:18 2024 OS/Arch: darwin/amd64 Context: desktop-linux Server: Docker Desktop 4.36.0 (175267) Engine: Version: 27.3.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 41ca978 Built: Fri Sep 20 11:41:11 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0 Checking for required docker image ghcr.io/techknowlogick/xgo:latest... found. Cross compiling local repository: ./cmd/app/main.go : ... Enabled Go module support panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x7ef2423] goroutine 1 [running]: main.compile({0xc0001aa360, 0x21}, 0xc000133de0, 0xc00009ed80, {0xc00002c0c4, 0x23}) /Users/***/go/pkg/mod/src.techknowlogick.com/xgo@v1.8.1-0.20241108152445-ff1a00efa99b/xgo.go:397 +0x943 main.main() /Users/***/go/pkg/mod/src.techknowlogick.com/xgo@v1.8.1-0.20241108152445-ff1a00efa99b/xgo.go:248 +0xd72
397L:
Sensitive information is represented by *
May I ask why the error was reported? thanks!!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
os
Darwin MacBook-Pro-4.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64
go version
error
397L:
Sensitive information is represented by *
May I ask why the error was reported?
thanks!!!
The text was updated successfully, but these errors were encountered: