-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
go: 1.5 darwin #9558
go: 1.5 darwin #9558
Conversation
The build is failing due to OOM. What's the best way to work around that ? |
c4b4121
to
dcb618e
Compare
This PR allows you to build
|
I had the issue where the Another solution might be to provide the dsymutil util instead of using a shim. |
@zimbatm this is what I get when I run |
i386 is not supported on Darwin and `sysctl` is not currently available in the Darwin stdenv.
dcb618e
to
18402ca
Compare
It's a bit of a hack but this fixes cgo building on OSX. @pesterhazy want to give it another shot at this branch ? I'm sure there is a better way to bring the dsymutil tool into the environment. If anyone has suggestions I'm happy to make the changes. |
@zimbatm, that definitely helps.
Might be an unrelated problem though. |
I suspect that all cgo packages will need dsymutil as well, it seems like On Sat, 12 Sep 2015 12:00 Paulus Esterhazy notifications@github.com wrote:
|
I tried to investigate, but current |
Fixes build issues on Darwin.
I would prefer to keep CGO enabled but it seems like go 1.5 now depends on dsymutil and the Darwin stdenv provides a [dummy version of it](
nixpkgs/pkgs/os-specific/darwin/binutils/default.nix
Line 15 in fa9c81f
Related issues: