I'm trying to use osxcross to build a rust project and I've run into an issue that has barely any resources to search on. This issue may be completely unrelated to osxcross but I'm out of ideas. Any pointers would be highly appreciated!
LLVM ERROR: Global variable '_ZN22reed_solomon_novelpoly5field5f2e164AFFT51__static_init_constructor___static_init_initializer17h35d545d30e5e1531E' has an invalid section specifier '.init_array.65535': mach-o section specifier requires a segment whose length is between 1 and 16 characters.
error: could not compile `reed-solomon-novelpoly`
I'm trying to use osxcross to build a rust project and I've run into an issue that has barely any resources to search on. This issue may be completely unrelated to osxcross but I'm out of ideas. Any pointers would be highly appreciated!
OS:
Clang:
OSX Sdks attempted: https://s3.dockerproject.org/darwin/v2/MacOSX10.10.sdk.tar.xz https://s3.dockerproject.org/darwin/v2/MacOSX10.11.sdk.tar.xz
Problematic Repository: https://github.com/paritytech/reed-solomon-novelpoly
Rust Version: rustc 1.54.0 (a178d0322 2021-07-26)
Build Command:
Output: