Last active
September 4, 2016 11:04
-
-
Save cleverca22/b1300b91ea6bf8951256c60acf2844ee to your computer and use it in GitHub Desktop.
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
[clever@amd-nixos:~/apps/nix-misc]$ nix-build '<nixpkgs>' -A glibc.static | |
/nix/store/8npvzxnhxslm5xvpd7v7c9p46fkdrl04-glibc-2.23-static | |
[clever@amd-nixos:~/apps/nix-misc]$ readelf -s result-static/lib/libc.a | grep memcpy_chk | |
File: result-static/lib/libc.a(memcpy_chk.o) | |
6: 0000000000000000 14 FUNC GLOBAL DEFAULT 1 __memcpy_chk | |
File: result-static/lib/libc.a(wmemcpy_chk.o) | |
8: 0000000000000000 25 FUNC GLOBAL DEFAULT 1 __wmemcpy_chk | |
[clever@amd-nixos:~/apps/nix-misc]$ nix-build ~/nixpkgs/ -A glibc.static | |
/nix/store/m2mvna9pk9hv1qgxwi124avzdq1i5q96-glibc-2.24-static | |
[clever@amd-nixos:~/apps/nix-misc]$ readelf -s result-static/lib/libc.a | grep memcpy_chk | |
File: result-static/lib/libc.a(memcpy_chk.o) | |
File: result-static/lib/libc.a(wmemcpy_chk.o) | |
8: 0000000000000000 25 FUNC GLOBAL DEFAULT 1 __wmemcpy_chk | |
[clever@amd-nixos:~/apps/nix-misc]$ nix-instantiate --find-file nixpkgs | |
/nix/store/fpbx2p8h0cs78z706nhh7x49lcd78bv4-nixos-16.09pre87999.20f009d/nixos/nixpkgs | |
[clever@amd-nixos:~/apps/nix-misc]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
c1292d98206524b713f892a02c69d7a4e4a97e03