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

Fails to build for arm64: undefined: syscall.Dup2 #29

Closed
Civil opened this issue Oct 13, 2017 · 1 comment
Closed

Fails to build for arm64: undefined: syscall.Dup2 #29

Civil opened this issue Oct 13, 2017 · 1 comment

Comments

@Civil
Copy link
Contributor

Civil commented Oct 13, 2017

arm64 doesn't have Dup2 syscall, it have syscall.Dup3 instead.

Please see golang/go#10235 for more details.

sevlyar added a commit that referenced this issue Nov 24, 2017
linux_arm64 platform doesn't have syscall.Dup2
so use the nearly identical syscall.Dup3 instead.
@sevlyar
Copy link
Owner

sevlyar commented Nov 24, 2017

@Civil Thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants