-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/cgo: support linking to libraries built with clang's libc++ #48486
Comments
You didn't specify what errors you're seeing, but perhaps you're looking for Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only. For venues to ask questions, see: https://github.com/golang/go/wiki/Questions |
I am specifically looking for LLVM's libc++. With GNU's libstdc++, everything works fine. Depending on how I set the environment variables, I sometimes get an error that
when calling as follows
I think it is a bug somewhere like ENVs not passed correctly. But I will ask in your linked channels as well. Thanks for the hint! |
I was missing |
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?
Linking to a library built with clang's
libc++
by setting flag-stdlib=libc++
.What did you expect to see?
Working binary.
What did you see instead?
Linker errors in standard library.
The text was updated successfully, but these errors were encountered: