-
Notifications
You must be signed in to change notification settings - Fork 18k
x/sys/unix: openbsd/arm does not build #21254
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
Comments
Can you reproduce this with go1.9rc1? |
I'll check it out. |
A bigger trace on 1.9rc1:
|
What happens with 1.9rc1 if you don't use I don't understand how I get exactly the same errors by running
I think this is just a problem with x/sys/unix, and I'm going to adjust it accordingly. |
Looks like there is no support for openbsd/arm in golang.org/x/sys/unix at all. CC @4a6f656c |
@ianlancetaylor, yes, it doesn't build without ldflags too. I just tested it again with both 1.8.3 and 1.9rc1. I must have seen wrong. |
Ah-ha, this is a duplicate issue of #10826. |
@hacdias please click this link https://lists.hyperledger.org/pipermail/hyperledger-fabric/2017-June/001254.html ;;-----------------------------------------------------------------
(defn- golang-src? [path]
(when (-> (fs/extension path)
- #{".go" ".c" ".h"})
+ #{".go" ".c" ".h" ".s"})
true))
;;----------------------------------------------------------------- |
Happens with Go modules in go v11.1.4 for a different package:
|
What version of Go are you using (
go version
)?1.8.3
What operating system and processor architecture are you using (
go env
)?Linux amd64
What did you do?
It's also broken on openbsd/arm6:
What did you expect to see?
No errors.
What did you see instead?
It works without the ldflags.It doesn'tThe text was updated successfully, but these errors were encountered: