JuliaLang / JuliaLang/PackageCompiler.jl
Redistributables compiled on MacOS 12 are not compatible with MacOS 10.14
- Dominant language
- Julia
- Stars
- 1.6k
- Forks
- 205
- Avg merge
- 18h 37m
- Merged PRs (30d)
- 7
Description
We're currently building https://github.com/KwatMDPhD/GSEA.jl for various platforms, and have encountered an odd issue. It appears that when we build the redistributable tarball on MacOS 12.2, the resulting application is not compatible with MacOS 10.14. However, it is compatible with MacOS 10.15. Furthermore, if we build the same package on 10.15, the resulting package is compatible with both MacOS 12 and MacOS 10.14.
The MacOS 10.15 compiled version is available from here: https://drive.google.com/file/d/1C_zpUauxvMx0Y9MLtbqWVsxShYq0T9P9/view?usp=sharing
The MacOS 12 compiled version is available from here: https://github.com/KwatMDPhD/GSEA.jl/releases/download/0.3.0/gsea-application-0.3.0-julia-1.7.2-darwin-x86_64.tar.gz
(note that these are slightly different versions, but the changes are unrelated to this issue)
The error message received when running the MacOS 12 produced package on 10.14:
```
ERROR: could not load library "/gsea/lib/julia/sys.dylib"
dlopen(/gsea/lib/julia/sys.dylib, 6): no suitable image found. Did find:
/gsea/lib/julia/sys.dylib: cannot load 'sys.dylib' (load command 0x80000034 is unknown)
/gsea/lib/julia/sys.dylib: cannot load 'sys.dylib' (load command 0x80000034 is unknown)
```
@KwatMDPhD
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the MacOS 12.2 and MacOS 10.15 redistributable tarballs linked in the report, then reproduce loading gsea/lib/julia/sys.dylib on MacOS 10.14. Done means identifying why the MacOS 12 build contains an incompatible load command and producing a redistributable that runs on the reported MacOS versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, macos
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100