Through further testing, it looks like this is a regression introduced by one or another optimization in Julia 1.1. With 1.0.3 and -O3 it works, and with 1.1 and -O1 it works, but with 1.1 and -O2 or -O3 it fails as seen above.
dhazeghi
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| PackageCompiler: LLVM ERROR | 1 | 430 | December 8, 2019 | |
| AOT compiled hello.jl core dump | 18 | 1607 | January 8, 2019 | |
| Precompile llvm errors | 1 | 133 | August 6, 2025 | |
| AOT compilation error on Julia 1.12 due to strip-metadata or filter_stdlibs | 3 | 222 | March 23, 2026 | |
| Understanding runtime errors with PackageCompiler built executables | 6 | 1914 | January 26, 2023 |