From cbf53bcf0e53c08011a47e434664991c3fec9299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 31 Jan 2019 19:02:23 +0000 Subject: vars/build.vars:gmp{_host,}: updated to v6.1.2. vars/build.vars:libnettle: updated to v3.4.1 (via Redfoxmoon.) vars/build.vars:libnettle:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/o --disable-assembler and w/ nettle_cv_asm_underscore=no --disable-static (via Redfoxmoon.) vars/build.vars:libnettle:${PKG_CFLAGS_CONFIGURE_EXTRA}: configure w/ -std=gnu99 (via Redfoxmoon.) patches/libnettle-3.4.1.local.patch: updated. patches/libnettle/nettle-conf-fix.patch: via Redfoxmoon. --- patches/libnettle-3.4.1.local.patch | 405 ++++++++++++++++++++++++++++++++ patches/libnettle-3.4.local.patch | 405 -------------------------------- patches/libnettle/nettle-conf-fix.patch | 26 ++ vars/build.vars | 15 +- 4 files changed, 439 insertions(+), 412 deletions(-) create mode 100644 patches/libnettle-3.4.1.local.patch delete mode 100644 patches/libnettle-3.4.local.patch create mode 100644 patches/libnettle/nettle-conf-fix.patch diff --git a/patches/libnettle-3.4.1.local.patch b/patches/libnettle-3.4.1.local.patch new file mode 100644 index 00000000..651aed5d --- /dev/null +++ b/patches/libnettle-3.4.1.local.patch @@ -0,0 +1,405 @@ +diff -ru nettle-3.4.orig/x86_64/aes-decrypt-internal.asm nettle-3.4/x86_64/aes-decrypt-internal.asm +--- nettle-3.4.orig/x86_64/aes-decrypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/aes-decrypt-internal.asm 2018-12-09 00:59:03.342536520 +0100 +@@ -150,3 +150,11 @@ + W64_EXIT(6, 0) + ret + EPILOGUE(_nettle_aes_decrypt) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_aes_decrypt,"r" ++ .global __imp__nettle_aes_decrypt ++__imp__nettle_aes_decrypt: ++ .quad _nettle_aes_decrypt ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/aes-encrypt-internal.asm nettle-3.4/x86_64/aes-encrypt-internal.asm +--- nettle-3.4.orig/x86_64/aes-encrypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/aes-encrypt-internal.asm 2018-12-09 01:10:55.642444822 +0100 +@@ -151,3 +151,11 @@ + W64_EXIT(6, 0) + ret + EPILOGUE(_nettle_aes_encrypt) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_aes_encrypt,"r" ++ .global __imp__nettle_aes_encrypt ++__imp__nettle_aes_encrypt: ++ .quad _nettle_aes_encrypt ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/camellia-crypt-internal.asm nettle-3.4/x86_64/camellia-crypt-internal.asm +--- nettle-3.4.orig/x86_64/camellia-crypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/camellia-crypt-internal.asm 2018-12-09 01:13:30.453575580 +0100 +@@ -200,3 +200,11 @@ + W64_EXIT(6, 0) + ret + EPILOGUE(_nettle_camellia_crypt) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_camellia_crypt,"r" ++ .global __imp__nettle_camellia_crypt ++__imp__nettle_camellia_crypt: ++ .quad _nettle_camellia_crypt ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/chacha-core-internal.asm nettle-3.4/x86_64/chacha-core-internal.asm +--- nettle-3.4.orig/x86_64/chacha-core-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/chacha-core-internal.asm 2018-12-09 01:13:01.961735270 +0100 +@@ -126,3 +126,11 @@ + W64_EXIT(3, 6) + ret + EPILOGUE(_nettle_chacha_core) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_chacha_core,"r" ++ .global __imp__nettle_chacha_core ++__imp__nettle_chacha_core: ++ .quad _nettle_chacha_core ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/gcm-hash8.asm nettle-3.4/x86_64/gcm-hash8.asm +--- nettle-3.4.orig/x86_64/gcm-hash8.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/gcm-hash8.asm 2018-12-09 00:57:11.743203210 +0100 +@@ -238,3 +238,12 @@ + .value W(a7,d0),W(a6,12),W(a4,54),W(a5,96),W(a0,d8),W(a1,1a),W(a3,5c),W(a2,9e) + .value W(b5,e0),W(b4,22),W(b6,64),W(b7,a6),W(b2,e8),W(b3,2a),W(b1,6c),W(b0,ae) + .value W(bb,f0),W(ba,32),W(b8,74),W(b9,b6),W(bc,f8),W(bd,3a),W(bf,7c),W(be,be) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_gcm_hash8,"r" ++ .global __imp__nettle_gcm_hash8 ++__imp__nettle_gcm_hash8: ++ .quad _nettle_gcm_hash8 ++ .linkonce discard ++#endif ++ +diff -ru nettle-3.4.orig/x86_64/md5-compress.asm nettle-3.4/x86_64/md5-compress.asm +--- nettle-3.4.orig/x86_64/md5-compress.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/md5-compress.asm 2018-12-09 01:12:32.613899889 +0100 +@@ -174,3 +174,11 @@ + + ret + EPILOGUE(_nettle_md5_compress) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_md5_compress,"r" ++ .global __imp__nettle_md5_compress ++__imp__nettle_md5_compress: ++ .quad _nettle_md5_compress ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/memxor3.asm nettle-3.4/x86_64/memxor3.asm +--- nettle-3.4.orig/x86_64/memxor3.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/memxor3.asm 2018-12-09 00:56:26.119479101 +0100 +@@ -261,3 +261,11 @@ + + + EPILOGUE(nettle_memxor3) ++ ++#ifdef __midipix__ ++ .section .got$nettle_memxor3,"r" ++ .global __imp_nettle_memxor3 ++__imp_nettle_memxor3: ++ .quad nettle_memxor3 ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/memxor.asm nettle-3.4/x86_64/memxor.asm +--- nettle-3.4.orig/x86_64/memxor.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/memxor.asm 2018-12-09 00:52:43.592860380 +0100 +@@ -171,3 +171,11 @@ + >) + + EPILOGUE(nettle_memxor) ++ ++#ifdef __midipix__ ++ .section .got$nettle_memxor,"r" ++ .global __imp_nettle_memxor ++__imp_nettle_memxor: ++ .quad nettle_memxor ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/poly1305-internal.asm nettle-3.4/x86_64/poly1305-internal.asm +--- nettle-3.4.orig/x86_64/poly1305-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/poly1305-internal.asm 2018-12-09 01:11:52.998122306 +0100 +@@ -183,3 +183,22 @@ + W64_EXIT(2, 0) + ret + ++#ifdef __midipix__ ++ .section .got$nettle_poly1305_digest,"r" ++ .global __imp_nettle_poly1305_digest ++__imp_nettle_poly1305_digest: ++ .quad nettle_poly1305_digest ++ .linkonce discard ++ ++ .section .got$_nettle_poly1305_block,"r" ++ .global __imp__nettle_poly1305_block ++__imp__nettle_poly1305_block: ++ .quad _nettle_poly1305_block ++ .linkonce discard ++ ++ .section .got$nettle_poly1305_set_key,"r" ++ .global __imp_nettle_poly1305_set_key ++__imp_nettle_poly1305_set_key: ++ .quad nettle_poly1305_set_key ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/salsa20-core-internal.asm nettle-3.4/x86_64/salsa20-core-internal.asm +--- nettle-3.4.orig/x86_64/salsa20-core-internal.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/salsa20-core-internal.asm 2018-12-09 01:04:45.096547584 +0100 +@@ -109,3 +109,11 @@ + W64_EXIT(3, 9) + ret + EPILOGUE(_nettle_salsa20_core) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_salsa20_core,"r" ++ .global __imp__nettle_salsa20_core ++__imp__nettle_salsa20_core: ++ .quad _nettle_salsa20_core ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/salsa20-crypt.asm nettle-3.4/x86_64/salsa20-crypt.asm +--- nettle-3.4.orig/x86_64/salsa20-crypt.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/salsa20-crypt.asm 2018-12-09 01:14:21.785288164 +0100 +@@ -245,3 +245,11 @@ + ret + + EPILOGUE(nettle_salsa20_crypt) ++ ++#ifdef __midipix__ ++ .section .got$nettle_salsa20_crypt,"r" ++ .global __imp_nettle_salsa20_crypt ++__imp_nettle_salsa20_crypt: ++ .quad nettle_salsa20_crypt ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/serpent-decrypt.asm nettle-3.4/x86_64/serpent-decrypt.asm +--- nettle-3.4.orig/x86_64/serpent-decrypt.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/serpent-decrypt.asm 2018-12-09 00:46:23.003436960 +0100 +@@ -713,3 +713,12 @@ + pop %rbx + W64_EXIT(4, 13) + ret ++ ++#ifdef __midipix__ ++ .section .got$nettle_serpent_decrypt,"r" ++ .global __imp_nettle_serpent_decrypt ++__imp_nettle_serpent_decrypt: ++ .quad nettle_serpent_decrypt ++ .linkonce discard ++#endif ++ +diff -ru nettle-3.4.orig/x86_64/serpent-encrypt.asm nettle-3.4/x86_64/serpent-encrypt.asm +--- nettle-3.4.orig/x86_64/serpent-encrypt.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/serpent-encrypt.asm 2018-12-09 00:49:36.870081203 +0100 +@@ -748,3 +748,11 @@ + pop %rbx + W64_EXIT(4, 13) + ret ++ ++#ifdef __midipix__ ++ .section .got$nettle_serpent_encrypt,"r" ++ .global __imp_nettle_serpent_encrypt ++__imp_nettle_serpent_encrypt: ++ .quad nettle_serpent_encrypt ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/sha1-compress.asm nettle-3.4/x86_64/sha1-compress.asm +--- nettle-3.4.orig/x86_64/sha1-compress.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/sha1-compress.asm 2018-12-09 00:55:45.891724177 +0100 +@@ -305,3 +305,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(_nettle_sha1_compress) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_sha1_compress,"r" ++ .global __imp__nettle_sha1_compress ++__imp__nettle_sha1_compress: ++ .quad _nettle_sha1_compress ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/sha256-compress.asm nettle-3.4/x86_64/sha256-compress.asm +--- nettle-3.4.orig/x86_64/sha256-compress.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/sha256-compress.asm 2018-12-09 00:55:21.963870821 +0100 +@@ -208,3 +208,11 @@ + W64_EXIT(3, 0) + ret + EPILOGUE(_nettle_sha256_compress) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_sha256_compress,"r" ++ .global __imp__nettle_sha256_compress ++__imp__nettle_sha256_compress: ++ .quad _nettle_sha256_compress ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/sha3-permute.asm nettle-3.4/x86_64/sha3-permute.asm +--- nettle-3.4.orig/x86_64/sha3-permute.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/sha3-permute.asm 2018-12-09 00:51:43.365246810 +0100 +@@ -522,3 +522,11 @@ + .quad 0x800000000000808A + .quad 0x0000000000008082 + .quad 0x0000000000000001 ++ ++#ifdef __midipix__ ++ .section .got$nettle_sha3_permute,"r" ++ .global __imp_nettle_sha3_permute ++__imp_nettle_sha3_permute: ++ .quad nettle_sha3_permute ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/sha512-compress.asm nettle-3.4/x86_64/sha512-compress.asm +--- nettle-3.4.orig/x86_64/sha512-compress.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/sha512-compress.asm 2018-12-09 00:54:41.276121776 +0100 +@@ -208,3 +208,11 @@ + W64_EXIT(3, 0) + ret + EPILOGUE(_nettle_sha512_compress) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_sha512_compress,"r" ++ .global __imp__nettle_sha512_compress ++__imp__nettle_sha512_compress: ++ .quad _nettle_sha512_compress ++ .linkonce discard ++#endif +diff -ru nettle-3.4.orig/x86_64/umac-nh.asm nettle-3.4/x86_64/umac-nh.asm +--- nettle-3.4.orig/x86_64/umac-nh.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/umac-nh.asm 2018-12-09 00:44:00.460269237 +0100 +@@ -79,3 +79,12 @@ + W64_EXIT(3, 7) + ret + EPILOGUE(_nettle_umac_nh) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_umac_nh,"r" ++ .global __imp__nettle_umac_nh ++__imp__nettle_umac_nh: ++ .quad _nettle_umac_nh ++ .linkonce discard ++#endif ++ +diff -ru nettle-3.4.orig/x86_64/umac-nh-n.asm nettle-3.4/x86_64/umac-nh-n.asm +--- nettle-3.4.orig/x86_64/umac-nh-n.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/umac-nh-n.asm 2018-12-09 00:43:15.584499837 +0100 +@@ -273,3 +273,11 @@ + W64_EXIT(5, 14) + ret + EPILOGUE(_nettle_umac_nh_n) ++ ++#ifdef __midipix__ ++ .section .got$_nettle_umac_nh_n,"r" ++ .global __imp__nettle_umac_nh_n ++__imp__nettle_umac_nh_n: ++ .quad _nettle_umac_nh_n ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-192-modp.asm nettle-3.4/x86_64/ecc-192-modp.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-192-modp.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-192-modp.asm 2018-12-09 13:10:41.051992276 +0100 +@@ -86,3 +86,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_192_modp) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_192_modp,"r" ++ .global __imp_nettle_ecc_192_modp ++__imp_nettle_ecc_192_modp: ++ .quad nettle_ecc_192_modp ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-224-modp.asm nettle-3.4/x86_64/ecc-224-modp.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-224-modp.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-224-modp.asm 2018-12-09 13:11:17.851656350 +0100 +@@ -129,3 +129,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_224_modp) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_224_modp,"r" ++ .global __imp_nettle_ecc_224_modp ++__imp_nettle_ecc_224_modp: ++ .quad nettle_ecc_224_modp ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp.asm nettle-3.4/x86_64/ecc-25519-modp.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-25519-modp.asm 2018-12-09 13:15:08.285573030 +0100 +@@ -92,3 +92,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_25519_modp) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_25519_modp,"r" ++ .global __imp_nettle_ecc_25519_modp ++__imp_nettle_ecc_25519_modp: ++ .quad nettle_ecc_25519_modp ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp-mul.asm nettle-3.4/x86_64/ecc-25519-modp-mul.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp-mul.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-25519-modp-mul.asm 2018-12-09 13:16:21.236919414 +0100 +@@ -266,3 +266,11 @@ + PROLOGUE(nettle_ecc_25519_modp_sqr) + + EPILOGUE(nettle_ecc_25519_modp_sqr) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_25519_modp_mul,"r" ++ .global __imp_nettle_ecc_25519_modp_mul ++__imp_nettle_ecc_25519_modp_mul: ++ .quad nettle_ecc_25519_modp_mul ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-256-redc.asm nettle-3.4/x86_64/ecc-256-redc.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-256-redc.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-256-redc.asm 2018-12-09 13:14:26.629947362 +0100 +@@ -127,3 +127,12 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_256_redc) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_256_redc,"r" ++ .global __imp_nettle_ecc_256_redc ++__imp_nettle_ecc_256_redc: ++ .quad nettle_ecc_256_redc ++ .linkonce discard ++#endif ++ +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-384-modp.asm nettle-3.4/x86_64/ecc-384-modp.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-384-modp.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-384-modp.asm 2018-12-09 13:12:15.711130111 +0100 +@@ -232,3 +232,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_384_modp) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_384_modp,"r" ++ .global __imp_nettle_ecc_384_modp ++__imp_nettle_ecc_384_modp: ++ .quad nettle_ecc_384_modp ++ .linkonce discard ++#endif +diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-521-modp.asm nettle-3.4/x86_64/ecc-521-modp.asm +--- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-521-modp.asm 2017-11-19 14:36:47.000000000 +0100 ++++ nettle-3.4/x86_64/ecc-521-modp.asm 2018-12-09 13:12:51.738803584 +0100 +@@ -156,3 +156,11 @@ + W64_EXIT(2, 0) + ret + EPILOGUE(nettle_ecc_521_modp) ++ ++#ifdef __midipix__ ++ .section .got$nettle_ecc_521_modp,"r" ++ .global __imp_nettle_ecc_521_modp ++__imp_nettle_ecc_521_modp: ++ .quad nettle_ecc_521_modp ++ .linkonce discard ++#endif diff --git a/patches/libnettle-3.4.local.patch b/patches/libnettle-3.4.local.patch deleted file mode 100644 index 651aed5d..00000000 --- a/patches/libnettle-3.4.local.patch +++ /dev/null @@ -1,405 +0,0 @@ -diff -ru nettle-3.4.orig/x86_64/aes-decrypt-internal.asm nettle-3.4/x86_64/aes-decrypt-internal.asm ---- nettle-3.4.orig/x86_64/aes-decrypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/aes-decrypt-internal.asm 2018-12-09 00:59:03.342536520 +0100 -@@ -150,3 +150,11 @@ - W64_EXIT(6, 0) - ret - EPILOGUE(_nettle_aes_decrypt) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_aes_decrypt,"r" -+ .global __imp__nettle_aes_decrypt -+__imp__nettle_aes_decrypt: -+ .quad _nettle_aes_decrypt -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/aes-encrypt-internal.asm nettle-3.4/x86_64/aes-encrypt-internal.asm ---- nettle-3.4.orig/x86_64/aes-encrypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/aes-encrypt-internal.asm 2018-12-09 01:10:55.642444822 +0100 -@@ -151,3 +151,11 @@ - W64_EXIT(6, 0) - ret - EPILOGUE(_nettle_aes_encrypt) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_aes_encrypt,"r" -+ .global __imp__nettle_aes_encrypt -+__imp__nettle_aes_encrypt: -+ .quad _nettle_aes_encrypt -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/camellia-crypt-internal.asm nettle-3.4/x86_64/camellia-crypt-internal.asm ---- nettle-3.4.orig/x86_64/camellia-crypt-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/camellia-crypt-internal.asm 2018-12-09 01:13:30.453575580 +0100 -@@ -200,3 +200,11 @@ - W64_EXIT(6, 0) - ret - EPILOGUE(_nettle_camellia_crypt) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_camellia_crypt,"r" -+ .global __imp__nettle_camellia_crypt -+__imp__nettle_camellia_crypt: -+ .quad _nettle_camellia_crypt -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/chacha-core-internal.asm nettle-3.4/x86_64/chacha-core-internal.asm ---- nettle-3.4.orig/x86_64/chacha-core-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/chacha-core-internal.asm 2018-12-09 01:13:01.961735270 +0100 -@@ -126,3 +126,11 @@ - W64_EXIT(3, 6) - ret - EPILOGUE(_nettle_chacha_core) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_chacha_core,"r" -+ .global __imp__nettle_chacha_core -+__imp__nettle_chacha_core: -+ .quad _nettle_chacha_core -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/gcm-hash8.asm nettle-3.4/x86_64/gcm-hash8.asm ---- nettle-3.4.orig/x86_64/gcm-hash8.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/gcm-hash8.asm 2018-12-09 00:57:11.743203210 +0100 -@@ -238,3 +238,12 @@ - .value W(a7,d0),W(a6,12),W(a4,54),W(a5,96),W(a0,d8),W(a1,1a),W(a3,5c),W(a2,9e) - .value W(b5,e0),W(b4,22),W(b6,64),W(b7,a6),W(b2,e8),W(b3,2a),W(b1,6c),W(b0,ae) - .value W(bb,f0),W(ba,32),W(b8,74),W(b9,b6),W(bc,f8),W(bd,3a),W(bf,7c),W(be,be) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_gcm_hash8,"r" -+ .global __imp__nettle_gcm_hash8 -+__imp__nettle_gcm_hash8: -+ .quad _nettle_gcm_hash8 -+ .linkonce discard -+#endif -+ -diff -ru nettle-3.4.orig/x86_64/md5-compress.asm nettle-3.4/x86_64/md5-compress.asm ---- nettle-3.4.orig/x86_64/md5-compress.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/md5-compress.asm 2018-12-09 01:12:32.613899889 +0100 -@@ -174,3 +174,11 @@ - - ret - EPILOGUE(_nettle_md5_compress) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_md5_compress,"r" -+ .global __imp__nettle_md5_compress -+__imp__nettle_md5_compress: -+ .quad _nettle_md5_compress -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/memxor3.asm nettle-3.4/x86_64/memxor3.asm ---- nettle-3.4.orig/x86_64/memxor3.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/memxor3.asm 2018-12-09 00:56:26.119479101 +0100 -@@ -261,3 +261,11 @@ - - - EPILOGUE(nettle_memxor3) -+ -+#ifdef __midipix__ -+ .section .got$nettle_memxor3,"r" -+ .global __imp_nettle_memxor3 -+__imp_nettle_memxor3: -+ .quad nettle_memxor3 -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/memxor.asm nettle-3.4/x86_64/memxor.asm ---- nettle-3.4.orig/x86_64/memxor.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/memxor.asm 2018-12-09 00:52:43.592860380 +0100 -@@ -171,3 +171,11 @@ - >) - - EPILOGUE(nettle_memxor) -+ -+#ifdef __midipix__ -+ .section .got$nettle_memxor,"r" -+ .global __imp_nettle_memxor -+__imp_nettle_memxor: -+ .quad nettle_memxor -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/poly1305-internal.asm nettle-3.4/x86_64/poly1305-internal.asm ---- nettle-3.4.orig/x86_64/poly1305-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/poly1305-internal.asm 2018-12-09 01:11:52.998122306 +0100 -@@ -183,3 +183,22 @@ - W64_EXIT(2, 0) - ret - -+#ifdef __midipix__ -+ .section .got$nettle_poly1305_digest,"r" -+ .global __imp_nettle_poly1305_digest -+__imp_nettle_poly1305_digest: -+ .quad nettle_poly1305_digest -+ .linkonce discard -+ -+ .section .got$_nettle_poly1305_block,"r" -+ .global __imp__nettle_poly1305_block -+__imp__nettle_poly1305_block: -+ .quad _nettle_poly1305_block -+ .linkonce discard -+ -+ .section .got$nettle_poly1305_set_key,"r" -+ .global __imp_nettle_poly1305_set_key -+__imp_nettle_poly1305_set_key: -+ .quad nettle_poly1305_set_key -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/salsa20-core-internal.asm nettle-3.4/x86_64/salsa20-core-internal.asm ---- nettle-3.4.orig/x86_64/salsa20-core-internal.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/salsa20-core-internal.asm 2018-12-09 01:04:45.096547584 +0100 -@@ -109,3 +109,11 @@ - W64_EXIT(3, 9) - ret - EPILOGUE(_nettle_salsa20_core) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_salsa20_core,"r" -+ .global __imp__nettle_salsa20_core -+__imp__nettle_salsa20_core: -+ .quad _nettle_salsa20_core -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/salsa20-crypt.asm nettle-3.4/x86_64/salsa20-crypt.asm ---- nettle-3.4.orig/x86_64/salsa20-crypt.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/salsa20-crypt.asm 2018-12-09 01:14:21.785288164 +0100 -@@ -245,3 +245,11 @@ - ret - - EPILOGUE(nettle_salsa20_crypt) -+ -+#ifdef __midipix__ -+ .section .got$nettle_salsa20_crypt,"r" -+ .global __imp_nettle_salsa20_crypt -+__imp_nettle_salsa20_crypt: -+ .quad nettle_salsa20_crypt -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/serpent-decrypt.asm nettle-3.4/x86_64/serpent-decrypt.asm ---- nettle-3.4.orig/x86_64/serpent-decrypt.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/serpent-decrypt.asm 2018-12-09 00:46:23.003436960 +0100 -@@ -713,3 +713,12 @@ - pop %rbx - W64_EXIT(4, 13) - ret -+ -+#ifdef __midipix__ -+ .section .got$nettle_serpent_decrypt,"r" -+ .global __imp_nettle_serpent_decrypt -+__imp_nettle_serpent_decrypt: -+ .quad nettle_serpent_decrypt -+ .linkonce discard -+#endif -+ -diff -ru nettle-3.4.orig/x86_64/serpent-encrypt.asm nettle-3.4/x86_64/serpent-encrypt.asm ---- nettle-3.4.orig/x86_64/serpent-encrypt.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/serpent-encrypt.asm 2018-12-09 00:49:36.870081203 +0100 -@@ -748,3 +748,11 @@ - pop %rbx - W64_EXIT(4, 13) - ret -+ -+#ifdef __midipix__ -+ .section .got$nettle_serpent_encrypt,"r" -+ .global __imp_nettle_serpent_encrypt -+__imp_nettle_serpent_encrypt: -+ .quad nettle_serpent_encrypt -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/sha1-compress.asm nettle-3.4/x86_64/sha1-compress.asm ---- nettle-3.4.orig/x86_64/sha1-compress.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/sha1-compress.asm 2018-12-09 00:55:45.891724177 +0100 -@@ -305,3 +305,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(_nettle_sha1_compress) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_sha1_compress,"r" -+ .global __imp__nettle_sha1_compress -+__imp__nettle_sha1_compress: -+ .quad _nettle_sha1_compress -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/sha256-compress.asm nettle-3.4/x86_64/sha256-compress.asm ---- nettle-3.4.orig/x86_64/sha256-compress.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/sha256-compress.asm 2018-12-09 00:55:21.963870821 +0100 -@@ -208,3 +208,11 @@ - W64_EXIT(3, 0) - ret - EPILOGUE(_nettle_sha256_compress) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_sha256_compress,"r" -+ .global __imp__nettle_sha256_compress -+__imp__nettle_sha256_compress: -+ .quad _nettle_sha256_compress -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/sha3-permute.asm nettle-3.4/x86_64/sha3-permute.asm ---- nettle-3.4.orig/x86_64/sha3-permute.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/sha3-permute.asm 2018-12-09 00:51:43.365246810 +0100 -@@ -522,3 +522,11 @@ - .quad 0x800000000000808A - .quad 0x0000000000008082 - .quad 0x0000000000000001 -+ -+#ifdef __midipix__ -+ .section .got$nettle_sha3_permute,"r" -+ .global __imp_nettle_sha3_permute -+__imp_nettle_sha3_permute: -+ .quad nettle_sha3_permute -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/sha512-compress.asm nettle-3.4/x86_64/sha512-compress.asm ---- nettle-3.4.orig/x86_64/sha512-compress.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/sha512-compress.asm 2018-12-09 00:54:41.276121776 +0100 -@@ -208,3 +208,11 @@ - W64_EXIT(3, 0) - ret - EPILOGUE(_nettle_sha512_compress) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_sha512_compress,"r" -+ .global __imp__nettle_sha512_compress -+__imp__nettle_sha512_compress: -+ .quad _nettle_sha512_compress -+ .linkonce discard -+#endif -diff -ru nettle-3.4.orig/x86_64/umac-nh.asm nettle-3.4/x86_64/umac-nh.asm ---- nettle-3.4.orig/x86_64/umac-nh.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/umac-nh.asm 2018-12-09 00:44:00.460269237 +0100 -@@ -79,3 +79,12 @@ - W64_EXIT(3, 7) - ret - EPILOGUE(_nettle_umac_nh) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_umac_nh,"r" -+ .global __imp__nettle_umac_nh -+__imp__nettle_umac_nh: -+ .quad _nettle_umac_nh -+ .linkonce discard -+#endif -+ -diff -ru nettle-3.4.orig/x86_64/umac-nh-n.asm nettle-3.4/x86_64/umac-nh-n.asm ---- nettle-3.4.orig/x86_64/umac-nh-n.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/umac-nh-n.asm 2018-12-09 00:43:15.584499837 +0100 -@@ -273,3 +273,11 @@ - W64_EXIT(5, 14) - ret - EPILOGUE(_nettle_umac_nh_n) -+ -+#ifdef __midipix__ -+ .section .got$_nettle_umac_nh_n,"r" -+ .global __imp__nettle_umac_nh_n -+__imp__nettle_umac_nh_n: -+ .quad _nettle_umac_nh_n -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-192-modp.asm nettle-3.4/x86_64/ecc-192-modp.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-192-modp.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-192-modp.asm 2018-12-09 13:10:41.051992276 +0100 -@@ -86,3 +86,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_192_modp) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_192_modp,"r" -+ .global __imp_nettle_ecc_192_modp -+__imp_nettle_ecc_192_modp: -+ .quad nettle_ecc_192_modp -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-224-modp.asm nettle-3.4/x86_64/ecc-224-modp.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-224-modp.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-224-modp.asm 2018-12-09 13:11:17.851656350 +0100 -@@ -129,3 +129,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_224_modp) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_224_modp,"r" -+ .global __imp_nettle_ecc_224_modp -+__imp_nettle_ecc_224_modp: -+ .quad nettle_ecc_224_modp -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp.asm nettle-3.4/x86_64/ecc-25519-modp.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-25519-modp.asm 2018-12-09 13:15:08.285573030 +0100 -@@ -92,3 +92,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_25519_modp) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_25519_modp,"r" -+ .global __imp_nettle_ecc_25519_modp -+__imp_nettle_ecc_25519_modp: -+ .quad nettle_ecc_25519_modp -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp-mul.asm nettle-3.4/x86_64/ecc-25519-modp-mul.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-25519-modp-mul.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-25519-modp-mul.asm 2018-12-09 13:16:21.236919414 +0100 -@@ -266,3 +266,11 @@ - PROLOGUE(nettle_ecc_25519_modp_sqr) - - EPILOGUE(nettle_ecc_25519_modp_sqr) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_25519_modp_mul,"r" -+ .global __imp_nettle_ecc_25519_modp_mul -+__imp_nettle_ecc_25519_modp_mul: -+ .quad nettle_ecc_25519_modp_mul -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-256-redc.asm nettle-3.4/x86_64/ecc-256-redc.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-256-redc.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-256-redc.asm 2018-12-09 13:14:26.629947362 +0100 -@@ -127,3 +127,12 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_256_redc) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_256_redc,"r" -+ .global __imp_nettle_ecc_256_redc -+__imp_nettle_ecc_256_redc: -+ .quad nettle_ecc_256_redc -+ .linkonce discard -+#endif -+ -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-384-modp.asm nettle-3.4/x86_64/ecc-384-modp.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-384-modp.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-384-modp.asm 2018-12-09 13:12:15.711130111 +0100 -@@ -232,3 +232,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_384_modp) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_384_modp,"r" -+ .global __imp_nettle_ecc_384_modp -+__imp_nettle_ecc_384_modp: -+ .quad nettle_ecc_384_modp -+ .linkonce discard -+#endif -diff -ru midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-521-modp.asm nettle-3.4/x86_64/ecc-521-modp.asm ---- midipix/nt64/debug/tmp/libnettle-native-x86_64-nt64-midipix/nettle-3.4/x86_64/ecc-521-modp.asm 2017-11-19 14:36:47.000000000 +0100 -+++ nettle-3.4/x86_64/ecc-521-modp.asm 2018-12-09 13:12:51.738803584 +0100 -@@ -156,3 +156,11 @@ - W64_EXIT(2, 0) - ret - EPILOGUE(nettle_ecc_521_modp) -+ -+#ifdef __midipix__ -+ .section .got$nettle_ecc_521_modp,"r" -+ .global __imp_nettle_ecc_521_modp -+__imp_nettle_ecc_521_modp: -+ .quad nettle_ecc_521_modp -+ .linkonce discard -+#endif diff --git a/patches/libnettle/nettle-conf-fix.patch b/patches/libnettle/nettle-conf-fix.patch new file mode 100644 index 00000000..1e031668 --- /dev/null +++ b/patches/libnettle/nettle-conf-fix.patch @@ -0,0 +1,26 @@ +diff -ru nettle-3.4.1.orig/configure nettle-3.4.1/configure +--- nettle-3.4.1.orig/configure 2018-12-04 21:56:06.000000000 +0100 ++++ nettle-3.4.1/configure 2019-01-31 11:41:23.385784666 +0100 +@@ -7188,6 +7188,22 @@ + LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS) libnettle.dll.a' + IF_DLL='' + ;; ++ midipix*) ++ if test "x$ABI" = x64 ; then ++ W64_ABI=yes ++ fi ++ LIBNETTLE_FORLINK=libnettle.so ++ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)' ++ LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)' ++ LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libnettle.lib.a -Wl,-soname=$(LIBNETTLE_SONAME)' ++ LIBNETTLE_LIBS='' ++ ++ LIBHOGWEED_FORLINK=libhogweed.so ++ LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)' ++ LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)' ++ LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libhogweed.lib.a -Wl,-soname=$(LIBHOGWEED_SONAME)' ++ LIBHOGWEED_LIBS='$(LIBS) libnettle.lib.a' ++ ;; + darwin*) + LIBNETTLE_FORLINK=libnettle.dylib + LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib' diff --git a/vars/build.vars b/vars/build.vars index bf617bd7..06066a5c 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -101,8 +101,8 @@ HOST_TOOLCHAIN_DEPS_CONFIGURE_ARGS="--disable-nls --host=${DEFAULT_TARGET} --pre HOST_TOOLCHAIN_DEPS_PACKAGES=" gmp_host mpfr_host mpc_host psxtypes_host"; HOST_TOOLCHAIN_DEPS_PREFIX="${PREFIX_CROSS}"; -: ${PKG_GMP_HOST_SHA256SUM:=752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160}; -: ${PKG_GMP_HOST_VERSION:=5.1.3}; +: ${PKG_GMP_HOST_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2}; +: ${PKG_GMP_HOST_VERSION:=6.1.2}; : ${PKG_GMP_HOST_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_HOST_VERSION}.tar.bz2}; : ${PKG_GMP_HOST_CONFIGURE_ARGS_EXTRA:=--disable-assembly}; : ${PKG_GMP_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/gmp-${PKG_GMP_HOST_VERSION}.midipix.patch"}; @@ -245,8 +245,8 @@ NATIVE_TOOLCHAIN_DEPS_CONFIGURE_ARGS="--disable-nls --host=${DEFAULT_TARGET} --p NATIVE_TOOLCHAIN_DEPS_PACKAGES=" gmp libelf mpfr mpc"; NATIVE_TOOLCHAIN_DEPS_PREFIX="${PREFIX_NATIVE}"; -: ${PKG_GMP_SHA256SUM:=752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160}; -: ${PKG_GMP_VERSION:=5.1.3}; +: ${PKG_GMP_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2}; +: ${PKG_GMP_VERSION:=6.1.2}; : ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2}; : ${PKG_GMP_CONFIGURE_ARGS_EXTRA:=--disable-assembly}; : ${PKG_GMP_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/gmp-${PKG_GMP_VERSION}.midipix.patch"}; @@ -517,10 +517,11 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python2"; : ${PKG_LIBRESSL_URL:=http://ftp.eu.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_VERSION}.tar.gz}; : ${PKG_LIBRESSL_CFLAGS_CONFIGURE_EXTRA:=-D__MIDIPIX}; : ${PKG_LIBRESSL_CONFIGURE_ARGS_EXTRA:=--disable-asm --enable-nc}; -: ${PKG_LIBNETTLE_SHA256SUM:=ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94}; -: ${PKG_LIBNETTLE_VERSION:=3.4}; +: ${PKG_LIBNETTLE_SHA256SUM:=f941cf1535cd5d1819be5ccae5babef01f6db611f9b5a777bae9c7604b8a92ad}; +: ${PKG_LIBNETTLE_VERSION:=3.4.1}; : ${PKG_LIBNETTLE_URL:=https://ftp.gnu.org/gnu/nettle/nettle-${PKG_LIBNETTLE_VERSION}.tar.gz}; -: ${PKG_LIBNETTLE_CONFIGURE_ARGS_EXTRA:=--disable-assembler}; +: ${PKG_LIBNETTLE_CONFIGURE_ARGS_EXTRA:="nettle_cv_asm_underscore=no --disable-static"}; +: ${PKG_LIBNETTLE_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99}; : ${PKG_LIBUNISTRING_SHA256SUM:=a4d993ecfce16cf503ff7579f5da64619cee66226fb3b998dafb706190d9a833}; : ${PKG_LIBUNISTRING_VERSION:=0.9.9}; : ${PKG_LIBUNISTRING_URL:=https://ftp.gnu.org/gnu/libunistring/libunistring-${PKG_LIBUNISTRING_VERSION}.tar.xz}; -- cgit v1.2.3