Skip to content

ld warnings and stuck compilation #1103

Open
@amitavaghosh1

Description

@amitavaghosh1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions