-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To statically link elfutils and libz Tested on [rbperf](https://github.com/javierhonduco/rbperf) compiled with `RUSTFLAGS="-L /usr/lib -L /usr/lib64" cargo b` **With the feature disabled (the default)** ``` [javierhonduco@fedora rbperf]$ ldd target/debug/rbperf linux-vdso.so.1 (0x00007fffa8de3000) libelf.so.1 => /lib/libelf.so.1 (0x00007ff9a5727000) libz.so.1 => /lib64/libz.so.1 (0x00007ff9a570d000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff9a56ed000) libm.so.6 => /lib64/libm.so.6 (0x00007ff9a560f000) libc.so.6 => /lib64/libc.so.6 (0x00007ff9a540e000) /lib64/ld-linux-x86-64.so.2 (0x00007ff9a5fa2000) ``` **With the static feature** ``` [javierhonduco@fedora rbperf]$ ldd target/debug/rbperf linux-vdso.so.1 (0x00007ffc5ed6a000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff391800000) libm.so.6 => /lib64/libm.so.6 (0x00007ff391722000) libc.so.6 => /lib64/libc.so.6 (0x00007ff391521000) /lib64/ld-linux-x86-64.so.2 (0x00007ff392098000) ```
- Loading branch information
1 parent
64b17ca
commit 5bed52a
Showing
5 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters