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
cmd/link: macOS host linker warning about /usr/lib/libpthread.dylib #32512
Comments
I'm confused by this. Why did the prompt change? Presumably you write that code you showed to a So this error is from the dynamic loader? Go progams link against All of that is for 10.12.6 aka Sierra. Maybe things on 10.14 have changed. Could you do a If you feel comfortable hacking the Go source, you might want to try messing with the |
the prompt should be so, when i do
when i run the binary however, the build takes longer when compared to any other builds. Yes, the error is from here's the
|
So the error is from |
Yes, its from Here's the
|
still have same issues with 1.12.9.
the entire file: https://github.com/mattn/go-sqlite3/blob/master/sqlite3.go and the warnings when building a binary with that library.
|
Is this still an issue? It was reported against a Go version that is no longer supported, let's archive this. We can open a new issue if it's still reproducible on supported Go and macOS versions. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
code:
building any code that has cgo involved (in this case go-sqlite3 via gorm) will do it.
this only happens when using go modules.
however, when built under ~/go/src/github.com/mattn/go-sqlite3 with the command
'go build --tags "darwin"'
it produces a libsqlite.a file that when used to build an executable does not produce this warning.The text was updated successfully, but these errors were encountered: