Skip to content

Instantly share code, notes, and snippets.

@olliebun
Created November 25, 2013 23:46
Show Gist options
  • Save olliebun/7650947 to your computer and use it in GitHub Desktop.
Save olliebun/7650947 to your computer and use it in GitHub Desktop.
Error when bootstrapping Go for Linux X86-64 cross-compilation on OSX Mavericks
$ hg summary
parent: 16840:414057ac1f1f go1.1.2 release
go1.1.2
branch: release-branch.go1.1
commit: (clean)
update: (current)
$ clang -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
$ CC=clang GOOS=linux GOARCH=amd64 ./make.bash --no-clean
lookup_unix.go:64: cannot use _Ctype_size_t(bufSize) (type C.size_t) as type C.ulong in function argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment