Open
Description
Zig Version
0.15.0-dev.784+4a02e080d
Steps to Reproduce and Observed Behavior
I'm linking a zig program to a fortran library that needs some runtime. Specifically intel's libifcore.so
However I get this error:
error: failed to parse shared library: UnexpectedEndOfFile
note: while parsing /opt/intel/oneapi/compiler/latest/lib/libifcore.so
If I add -Doptimize=ReleaseFast
it compiles successfully, because it uses the llvm linker.
Expected Behavior
Link successfully like LLD.