From 6d90db7ab26624f1ed93eb3172666d39df316e3e Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Tue, 14 Aug 2018 15:12:03 +0900 Subject: sys-libs/bionic: static link /system/bin/linker* give it exe permission. Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- sys-libs/bionic/Manifest | 20 ++++++++++++++++++++ sys-libs/bionic/files/bionic-unwind-gcc_s.patch | 8 ++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 sys-libs/bionic/Manifest diff --git a/sys-libs/bionic/Manifest b/sys-libs/bionic/Manifest new file mode 100644 index 0000000..eb20bb8 --- /dev/null +++ b/sys-libs/bionic/Manifest @@ -0,0 +1,20 @@ +AUX amd64-soong.variables 1720 BLAKE2B ecbbc9404f714b47a64a6c31f29a4ba8fe4e803182ad59bbf786af42dd0e4818812707137f6144373cc88673c1fb861266e1a7633ff3a11c712ba87e786c6985 SHA512 bca04367b2535184cff7bcffe3c43cb2dd1090f373aa8352c19566f7f408970e3bf80c67a692d62189c9c6411fa455bf8d4d60fb6fd41be31cffebaddb86f341 +AUX bionic-binutils-port.patch 1152 BLAKE2B a50612ed7aecadc117bbe1e0b5f4675431d61b368ace7a77fade9c296403efa2aa60be2ee25d3c26a7ba7b8e0f3ce091af73d8432147c0fe5219fb1b193c0d06 SHA512 d2a89e8fc4cb7f4cdb6abbdf2536368c8f4a4340d1197977b9626df89445ba77d233e1760c569916e5da18b76b17e84ce2d8cbac1cb03e67d05ca8b1eeed46d8 +AUX bionic-glibc-port.patch 4112 BLAKE2B 26471da03d2471f0b3674fd26d2e7f7893631421366d7e2bb0c15f1228fa944e0195c3159d3f62e4cbc3fc0133063164eb4f72552d08728375b6c56b1d703512 SHA512 183eb20f64f203d7c814551d63acb351c34d91c4c1be8caa9ce88a6f5b8fad2f3ee2fcabc62e33a966cb5a082265ccb2b7cc32f44174bd644e5714c6116da2e5 +AUX bionic-no-visibility-hack.patch 456 BLAKE2B 659b5d940d198bb2d7bb0b8464abe6dcb1339f76ea46b8f62cd376d2e55a97cdde303a3d5e1c02b7a8a0aa56f47b5172e89c4b035a256b2e52a4c126148208e4 SHA512 604ac7152d74725980dc19f18427a6afbceb845be9e016e4ecec0778e636fb85c7c34075550edf9cf227939fb46f82b2a1903c27b2bdb6aacc3909798948ce51 +AUX bionic-unwind-gcc_s.patch 1467 BLAKE2B b27a30089df02d6db75f69baa38e3c61ff12e7afd4142e9625e7cbbdfa01e137fad1ba3a81c0078f129dfea14154ee567fd08212cc52ffc701779f2e138810cd SHA512 d3d68d880502938530b1352e6b12d3db5c6a40f8603eb945662075a3ba03e9a89752c53ac83ed6c3f87fccc7fcb94ad0a8066987c675b0615ed60550882ebebd +DIST bionic-8.1.0_p41.tar.gz 3517518 BLAKE2B 4c5121cda0e3562b3b65d8e7fa621c6e231973077d582b7d4abf861d03533fd4881901bd48ec971d5baaf155dc8f1a92eb62068a910199fa751fb3001d20d0ba SHA512 b110b46e9f67174f8f30f3b8da0e0fa02c42f2dbb5ced6a9ba9ad948d6cd0a82c1850e8a8d4cd5f3b81ad286e9eb400236fb5320ab02b72f44a0510829cd3e6d +DIST build-8.1.0_p41.tar.gz 2587534 BLAKE2B 5a0eb0dab1d41c60b8eb2e14c5f6e82584ed57e63541fcfc1087f841d8206bb45302b341cff5754ca641e392ed3cccca7ab4609932620fe100aba37ff61679b1 SHA512 a4b0f24800055cc9e433b578c9e1ae7f511959512459cb916b63fd3ec9312fe272858117f15beea28a60464a04fd8fd17a7bfb6772b346edecfb387aad89a97d +DIST compiler-rt-8.1.0_p41.tar.gz 2377259 BLAKE2B 09104aba4ef1dc9ce18609cae395f3849d3df6dbb9b9759c3a1532759afd52d7af37475df21ae2db3bbea0891f9974785833405c3731d0082e749c304a86bc89 SHA512 9472ca3fed7a0215f6bd7506f5ba722891c65f9a88a4296c57a69bd038854ad416b7ce433d11451408c632ec23b3f19c4a3fc6373a7955c27563d7786301b6de +DIST core-8.1.0_p41.tar.gz 5230053 BLAKE2B 7d061d424554fadf9b91412ee9e20d698ec97f196b899aecd7ba7a9a8353ac7f9f6d29831278fb9b81e910031d15b26038ead0d8a2bb7349a767302243d096be SHA512 44458749dd108cf7c89e7b5ad6fdfdb70c2e2a1fb7116543a8203be1fedf45b27b47734f0602e6d7e3ab340d415115884d52a38bf247eebd27a5f87e9ee2c8cd +DIST jemalloc-8.1.0_p41.tar.gz 474553 BLAKE2B 7402befbc29f4ec795c6c5715c015fcd8684207467ac87bf99e65b2c46efc05697f42c0c060ac971367534f57a9e075810fca837089db8fa3c256a2e6c44b5a9 SHA512 1cea81038a5bac8902a2f71c571b172c792857d4eb62d13e4ec25dddd14dc724328b8604f412da6708d6f9af78e8c1582f6d38388b707d1d405f425901534f9c +DIST libcxx-8.1.0_p41.tar.gz 2346631 BLAKE2B ba37b446d722108dba6d970e07f3ce63ed4e23678d97f8b6eb215d2795848dbb6e5b0fe50f57686eed4fe6ada762e5e7d7824dbdc4a54496c1ed811684faa2c6 SHA512 a9632729ed454711a7c09e11845fe4ef0c111d4e369951d28c8ed179e5d9b4dc7a7108c963d62e20f3c87e1f5362896ade08591b6454a145fa99b87c8931f0ba +DIST libcxxabi-8.1.0_p41.tar.gz 709877 BLAKE2B 31ccf771a7397e9207bac222b9ac24bdba07103508426782f743dd0b7766702eac6db22edcfe214135b41f4bec7b12d148fae62fce27348c38fecadc3b127659 SHA512 7c26527f569464e93893e4fe31032b18bf9553ef1bd695a0177bdf4e6a8462040a6694f2b87eee0265f777da9ca5f4ebf2be302c6aaec86bbbfbf2f41785bd96 +DIST libunwind-8.1.0_p41.tar.gz 444441 BLAKE2B e02b2a5f9be17ffa61d607f4e7a0f878d77d3f26f195f9f2a5f6cdb043508aabefff2f18b1e6844700d50b984bc2331bd4f897c1bda73a9edc05f23e656b89f2 SHA512 e47282f05baf3accb87b8d7164790929789e84ec4c2542c1da6553ead10558529f4a15d478f43970f4c5ca0ddbd4ce86d96e2aa0c4b859fff24f398e6779ca5d +DIST libunwind_llvm-8.1.0_p41.tar.gz 90999 BLAKE2B 3ebd73a228513548ee9f6f84ab22190b9eed4b29b28acde5ed9e7dc8211691629a04980b04712d50fe3f1690e2e4e4df823c818ddd8e23448d4840029bb7acd2 SHA512 2a433a5c929b65e4738b9507a807c005aab22ba303676145806d000db9a21b04f6589282a15f36a4be725099501eccfce07349f5734871d59f09e1f732a6dae3 +DIST llvm-8.1.0_p41.tar.gz 26253027 BLAKE2B 50687a47c6a271d0881f6a115d25a698c3fc86d9477cafe361147beaaf4b3c2dd8599391287141f20efa2db8e0be183eed2d44744269b50471c1364a2f6f7687 SHA512 dbc7848cbc7d48c5b4d02fcc855aea57bf1922e8c116cd4f8424826d6aa49569474298f371561360cc2af6050c175b90296eec359443a9a81f65a8cf309fd27b +DIST lzma-8.1.0_p41.tar.gz 733693 BLAKE2B 733b0995778adce01af50b9f22276ec4a54d3c73ff7b9709a6b3c0327dd89c0a785cb991dbd3343e4e7b9c5eb9009afaea3d78db993a48e1dcbaa9807fdaf7ff SHA512 4cebceabb9096c19ccf3ab25ef27d4ce6f1655e431c6381f888345613f310509864135bc0ee7fd78dc5f1170521effea2113f149e71cca56a07254566755c0c5 +DIST safe-iop-8.1.0_p41.tar.gz 10800 BLAKE2B 02959e9a0f02259362bfbe840eae50bdfa429b09de8f56f8beec2f99697eabb4a0a71a175a79a52f943facded257a68bff383a53acbe61249b76fe2ff95911e1 SHA512 8b717408601194b76a6a44fec5bd62ff2121b89f5f8fea7b3eee7ca46c122e346f8d73d92f5b34575318b1015e74186affda1e1aca7b53ac9c3c303d4e8e7710 +DIST zlib-8.1.0_p41.tar.gz 607311 BLAKE2B b175cf9d4548df24cfd587abea62ee4c3dcee56f6a68b4044c4b1419be148ab4542c42cb19ce0d773b247ceaf3193afca385170674c9d6d2f92a4df8f6d346ba SHA512 0d587729c1210ee6efa6bb7cdac723da71a9c56252be67f6973e80c3597dbb7f2c96ea093078e580d97709de5e8d8fabf92aae0594f382b95e2d9559e43953d2 +EBUILD bionic-8.1.0_p41.ebuild 3513 BLAKE2B 98ffc3948dbfd699de5f5b4be59e96d2dcd1ef225c9c9bbecf475080139a73833bf12b61d3fdde199b766078be446a07fc849667fe09d0bc6d56f080a1468a75 SHA512 c9a27ea16201c04e845b9d5197f0e6111afaea963f2abdf017740aa9051d2d1be35c872f8060f3bde41582dfc8ac33ead5f04e4696884cdd4c1d7e72dde10c6b +MISC metadata.xml 242 BLAKE2B 08b4880748ab6d685ce28f65a9f6cc5ad62deff8f85d4e0a55a3dc12aa8bd63cf1de56b28ff89929e054a6831e223d6ef0207e8b19c6887f09ee22621bd76928 SHA512 ae57aaeecc094cffa640d88329a0baa6c2b0703330d84f6406f3f68d8bb9b724d2e19a8478be8708de284db9ac452f95f225a9f79cd1c5d0236aa2f9935b9b21 diff --git a/sys-libs/bionic/files/bionic-unwind-gcc_s.patch b/sys-libs/bionic/files/bionic-unwind-gcc_s.patch index 4df2a5c..d8aed7b 100644 --- a/sys-libs/bionic/files/bionic-unwind-gcc_s.patch +++ b/sys-libs/bionic/files/bionic-unwind-gcc_s.patch @@ -6,7 +6,7 @@ Index: bionic-8.1.0_p41/external/libcxx/Android.bp target: { android: { shared_libs: ["libdl"], -+ ldflags: ["-Wl,-lgcc_s"], ++ ldflags: ["-Wl,-lgcc_eh"], }, android_arm: { static_libs: ["libunwind_llvm"], @@ -18,7 +18,7 @@ Index: bionic-8.1.0_p41/external/libunwind/Android.bp target: { android: { shared_libs: ["libdl"], -+ ldflags: ["-Wl,-lgcc_s"], ++ ldflags: ["-Wl,-lgcc_eh"], }, linux: { ldflags: ["-nostdlib"], @@ -30,11 +30,11 @@ Index: bionic-8.1.0_p41/bionic/linker/Android.bp target: { android: { static_libs: ["libdebuggerd_client"], -+ ldflags: ["-Wl,-lgcc_s"], ++ ldflags: ["-Wl,-lgcc_eh"], }, android64: { cflags: ["-DTARGET_IS_64_BIT"], -+ ldflags: ["-Wl,-lgcc_s"], ++ ldflags: ["-Wl,-lgcc_eh"], }, linux_bionic: { cflags: ["-DTARGET_IS_64_BIT"], -- cgit v1.2.3-65-gdbad