Open
Description
I install Rust using MacPorts on macOS.
Rust was recently updated from 1.24.1 to 1.25.0.
For version 1.24.1, the Rust compiler did not seem to care if LLVM was built as a universal binary.
Starting with version 1.25.0, I get the error
error: failed to add native library /opt/local/libexec/llvm-6.0/lib/libLLVMX86Disassembler.a: File too small to be an archive
Rust was compiled with --llvm-root=/opt/local/libexec/llvm-6.0
.
If I reinstall LLVM so it is not universal, Rust compiles correctly.
There is a MacPorts bug report.