-
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: clang doesn't support no-eliminate-unused-debug-types after upgrade XCode to 5.0 version #6515
Labels
Comments
Referencw: http://llvm.org/bugs/show_bug.cgi?id=11710 |
Reference: http://llvm.org/bugs/show_bug.cgi?id=11710 |
You can download a 1.2 release candidate from https://code.google.com/p/go/downloads/list . You can eliminate the option by editing the file src/cmd/cgo/gcc.go and removing the option from the list of options--just search for it. But if you can tell us whether this works with 1.2 we will be able to improve the 1.2 release. Thanks. |
Issue #6663 has been merged into this issue. |
Was there a regression before release? I see this issue with the latest go1.2.darwin-amd64-osx10.8.pkg from https://code.google.com/p/go/downloads/list (uploaded Dec 1). It's also an issue for me on the version of Go install by Go Brew. joel@freyr:~/src/cgotest$ /usr/local/go/bin/go run random.go # command-line-arguments clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types' |
If you have a problem when using the current sources, please don't comment on a closed issue. Please open a new issue instead. Thanks. Go 1.2 never passes -fno-eliminate-unused-debug-types to any compiler, so it is very unlikely that you would be seeing that warning when using Go 1.2. But if you somehow are: open a new issue. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by sunikbear:
The text was updated successfully, but these errors were encountered: