You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
Perl interpreters shipped with macOS Sierra (and possibly others) are built as universal binaries, and the same applies to XS extensions.
Since we build C glue using the same options, C compiler produces a static library which is also a universal binary. rustc is currently not able to link to such libraries:
warning: warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: /Users/daniel/code/perl-xs/t/target/release/build/perl-sys-4230308055e1a1c1/out/libperlsys.a will be fat and ar(1) will not be able to operate on it
error: failed to add native library /Users/daniel/code/perl-xs/t/target/release/build/perl-sys-4230308055e1a1c1/out/libperlsys.a: File too small to be an archive
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From #2 (comment)
Perl interpreters shipped with macOS Sierra (and possibly others) are built as universal binaries, and the same applies to XS extensions.
Since we build C glue using the same options, C compiler produces a static library which is also a universal binary. rustc is currently not able to link to such libraries:
The text was updated successfully, but these errors were encountered: