ld warnings and stuck compilation
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 9.2k
- Forks
- 1.2k
- Avg merge
- 19m
- Merged PRs (30d)
- 4
Description
go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/amitava.ghosh/go/bin/"
GOCACHE="/Users/amitava.ghosh/Library/Caches/go-build"
GOENV="/Users/amitava.ghosh/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/packages/pkg/mod"
GOOS="darwin"
GOPATH="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/packages"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/amitava.ghosh/dev/tada/gorm.v1-dbresolver/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/h1/go-build3066795306=/tmp/go-build -gno-record-gcc-switches -fno-common"
master± ⟩ go test github.com/go-gorm-v1/dbresolver
# github.com/go-gorm-v1/dbresolver.test
ld: warning: -no_pie is deprecated when targeting new OS versions
# stuck here
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing go test github.com/go-gorm-v1/dbresolver with the reported go env values, especially Go 1.18.3 on macOS with CGO enabled. Investigate where compilation stops after the ld: warning: -no_pie message; done means identifying a reproducible cause and documenting or fixing the stalled test build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100