Skip to content
New issue

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

report warning while build with sqlite3 lib.(contains C code using ld tool) #32677

Closed
violin0622 opened this issue Jun 19, 2019 · 4 comments
Closed
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@violin0622
Copy link

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64

Does this issue reproduce with the latest release?

Yes,still apears in go version go1.12.6 darwin/amd64

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/violin/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/violin/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.5/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/violin/Projects/go/src/violin/sq/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/9k/g9fr68yx00dfx_9790kccrb80000gn/T/go-build560338982=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

details described in issue

What did you expect to see?

no warnings

What did you see instead?

# violin/sq
ld: warning: building for macOS, but linking in object file (/var/folders/9k/g9fr68yx00dfx_9790kccrb80000gn/T/go-link-904695182/go.o) built for
@katiehockman
Copy link
Contributor

Please let me know if I'm misunderstanding the issue filed, but it looks like this is more of a question than it is a bug that needs to be fixed. For questions about Go, see https://golang.org/wiki/Questions.

@katiehockman katiehockman added Question WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Jun 21, 2019
@obynio
Copy link

obynio commented Jul 17, 2019

I had the same problem and found a fix. You need to update the Mojave's Command Line Tools manually using the installer available here https://developer.apple.com/download/more/

Take the most recent corresponding to your macOS version. That was Command Line Tools (macOS 10.14) for Xcode 10.2.1.dmg for me. Tell me if it solved your issue.

@darron
Copy link

darron commented Jul 17, 2019

Worked for me on Mojave as well.

@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Jul 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants