docker / golang-cross

https://hub.docker.com/r/dockercore/golang-cross
97 stars 38 forks source link

[Do not merge] debugging building with OSX_VERSION_MIN=10.11 #42

Closed thaJeztah closed 4 years ago

thaJeztah commented 4 years ago

Pushing here for easier sharing; I was trying if updating https://github.com/tpoechtrager/osxcross to a more recent version would solve the issue, then tried to add more dependencies (which were mentioned in that project's readme: https://github.com/tpoechtrager/osxcross/blob/d39ba022313f2d5a1f5d02caaa1efb23d07a559b/README.md

ensure you have the following installed on your system:

Clang 3.4+, cmake, git, patch, Python, libssl-devel (openssl) lzma-devel, libxml2-devel and the bash shell.

You can run 'sudo tools/get_dependencies.sh' to get these (and the optional packages) automatically. (outdated)

Optional:

  • llvm-devel: For Link Time Optimization support
  • llvm-devel: For ld64 -bitcode_bundle support
  • uuid-devel: For ld64 -random_uuid support

And added (YOLO) some of the dependencies that their (marked "outdated") get_dependencies.sh script installs; https://github.com/tpoechtrager/osxcross/blob/d39ba022313f2d5a1f5d02caaa1efb23d07a559b/tools/get_dependencies.sh#L43-L47