Solve the TODO in the gitian-descripter
[contrib] Support ARM and RISC-V symbol check #13724
pull ken2812221 wants to merge 1 commits into bitcoin:master from ken2812221:symbol-check-all changing 2 files +32 −29-
ken2812221 commented at 1:37 PM on July 20, 2018: contributor
- fanquake added the label Scripts and tools on Jul 20, 2018
- ken2812221 force-pushed on Jul 20, 2018
- fanquake requested review from laanwj on Jul 21, 2018
-
DrahtBot commented at 1:18 PM on July 22, 2018: member
<!--e57a25ab6845829454e8d69fc972939a-->Note to reviewers: This pull request conflicts with the following ones:
- #14091 (Minor style enhacement in documentation by fedsten)
- #14066 (gitian-linux: Build binaries for 64-bit POWER by luke-jr)
- #14065 (Symbol checks for ARM and RISC-V by luke-jr)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
laanwj commented at 2:42 PM on July 22, 2018: member
Thanks for adding this!
- ken2812221 force-pushed on Jul 22, 2018
- MarcoFalke added the label Needs gitian build on Jul 22, 2018
-
ken2812221 commented at 3:14 PM on July 22, 2018: contributor
#13665 is not ready to merge since it would export a lot of symbols.
-
MarcoFalke commented at 6:05 PM on July 22, 2018: member
Have you run the symbol check after cross compilation? It seems to fail for me:
CXXLD test/test_bitcoin_fuzzy CXXLD bitcoind CXXLD bitcoin-cli CXXLD bitcoin-tx CXXLD test/test_bitcoin AR qt/libbitcoinqt.a OBJCXXLD qt/bitcoin-qt make[2]: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' make[1]: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' Making all in doc/man make[1]: Entering directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/doc/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/doc/man' make[1]: Entering directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf' + make -j9 -C src check-security make: Entering directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' Checking binary security... make: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' + make -j9 -C src check-symbols make: Entering directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' Checking glibc back compat... qt/bitcoin-qt: export of symbol _bss_end__ not allowed qt/bitcoin-qt: export of symbol __bss_end__ not allowed qt/bitcoin-qt: export of symbol __bss_start__ not allowed qt/bitcoin-qt: export of symbol __end__ not allowed make: *** [check-symbols] Error 1 Makefile:10512: recipe for target 'check-symbols' failed make: Leaving directory '/home/ubuntu/build/bitcoin/distsrc-arm-linux-gnueabihf/src' - DrahtBot removed the label Needs gitian build on Jul 22, 2018
- ken2812221 force-pushed on Jul 23, 2018
-
ken2812221 commented at 5:01 AM on July 23, 2018: contributor
@MarcoFalke Fixed. Sorry about not testing before I commited. I've tested 85ec33a35dfec2cc3b2e0decb5e184650caecdef (master + 60976f2) that can successfully do gitian build.
- MarcoFalke deleted a comment on Jul 23, 2018
- MarcoFalke added the label Needs gitian build on Jul 23, 2018
- DrahtBot removed the label Needs gitian build on Jul 23, 2018
- laanwj added this to the milestone 0.18.0 on Aug 2, 2018
- MarcoFalke deleted a comment on Aug 16, 2018
- MarcoFalke added the label Needs gitian build on Aug 16, 2018
- DrahtBot added the label Needs rebase on Aug 16, 2018
- ken2812221 force-pushed on Aug 16, 2018
-
ken2812221 commented at 7:04 PM on August 16, 2018: contributor
Need to skip RISC-V for now, the linker would export so many symbols.
- DrahtBot removed the label Needs rebase on Aug 16, 2018
- DrahtBot removed the label Needs gitian build on Aug 17, 2018
- MarcoFalke deleted a comment on Aug 17, 2018
- MarcoFalke added the label Needs gitian build on Aug 17, 2018
-
DrahtBot commented at 8:13 PM on August 21, 2018: member
<!--a722867cd34abeea1fadc8d60700f111-->
Gitian builds for commit 4732fa133abdf374790825abbf1bbf56819cc806 (master):
96938d5f7850af9be06c44fd61fc2ff2...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gza42cf5993580089a65e8ed99805f3308...bitcoin-0.17.99-aarch64-linux-gnu.tar.gzc64a0294acd1ddd48a6a5ddcd3b7f9ca...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gze3338b4add0f143b3da3dccabf5f6cc8...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gzcdf7e275ed41ac530f6d703bbb0fea6f...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gzc16f16d37641c4a0f15ecea02ed739df...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gz8793ee7d9e38afda58772befe2498114...bitcoin-0.17.99-osx-unsigned.dmgcf82290eed7cee9717f2f0089c67fdd8...bitcoin-0.17.99-osx64.tar.gzf296accd98dc6d095813fd2310de0c4a...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gz07e48fe9497d711f3b06fa817f33396a...bitcoin-0.17.99-riscv64-linux-gnu.tar.gz6c30843be135199c643aa14f43ef9922...bitcoin-0.17.99-win32-debug.zip2e8e1a7400ec10b454fe515e1efe45dd...bitcoin-0.17.99-win32-setup-unsigned.execee0b278decb15b3b0bd70a21a1446e8...bitcoin-0.17.99-win32.zip423ea294b7c6b6ed42744d6d5e790f45...bitcoin-0.17.99-win64-debug.zipcdf3c7de2fa8c76a6686219b820206da...bitcoin-0.17.99-win64-setup-unsigned.exeb319918c166a2dc2f2d6df924c27a2fe...bitcoin-0.17.99-win64.zipc9afc2c33af5a9d33cd17e417fab47a1...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gz5e9330cce8a2102b3c9022449a4eff1e...bitcoin-0.17.99-x86_64-linux-gnu.tar.gz330f3c694f3213eddbbdbd77c8ce1807...bitcoin-0.17.99.tar.gz3ce3064231057af088379b7c8869939f...bitcoin-linux-0.18-res.yml162137e749754fef41321914a2881149...bitcoin-linux-build.log40815cd94fe231509a3a6a3dee5194d6...bitcoin-osx-0.18-res.yml7ce9809a064557ee1a3c52b3669cbe8d...bitcoin-osx-build.log81a29bedcbc64c76a63e72133fc93787...bitcoin-win-0.18-res.yml9190b9c434d4fbeb277b7cb5d902b96e...bitcoin-win-build.log
Gitian builds for commit 73a989af091d816b5029706b7124fd74d7a7f9b2 (master and this pull):
a310994a099b7010013c3678fb013d30...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gz4062709b94cb9411a4ba0cf2affcc314...bitcoin-0.17.99-aarch64-linux-gnu.tar.gzd0fb7ae33e50c700d3fe382a2f78edad...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gz4fa578416dc8242061e6c1122c85c746...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gzbaa12d31c87c316b1d5c59e7c7c1e20a...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gz798bda2243f207374239aae6cce38cb1...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gzfde432e7a602987ebef298608f582b97...bitcoin-0.17.99-osx-unsigned.dmgd5360674d642ef04e4ad6505a2975409...bitcoin-0.17.99-osx64.tar.gzc0df7d3e419afa2ea6818529339938ea...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gz0754a26a095f56641198026eebdf0fed...bitcoin-0.17.99-riscv64-linux-gnu.tar.gzb50f5b96ea60dddb54cbe6ab1de76b8a...bitcoin-0.17.99-win32-debug.zip77ffc37894435b4f3467cad314139fa7...bitcoin-0.17.99-win32-setup-unsigned.exee4e9f99d963353c5f434ca6adb7e9b02...bitcoin-0.17.99-win32.zip3e64bd90005fda510ed4c2f4e920f52b...bitcoin-0.17.99-win64-debug.zip58d0301ff5e2e214c7af90640e88d10a...bitcoin-0.17.99-win64-setup-unsigned.exe0cba9c6983d2f1dd7943c865f5559942...bitcoin-0.17.99-win64.zip4b941a8671328f55c0aec2b4ba0278ed...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gze43700aa7f5567ee4537f053da874eda...bitcoin-0.17.99-x86_64-linux-gnu.tar.gz7b8001cde87a3df50112cc6521c88f21...bitcoin-0.17.99.tar.gz48273a83b816f7b3f81ee89bc8542555...bitcoin-linux-0.18-res.yml941ccf3807a3bbd0d733eaf28e3754b5...bitcoin-linux-build.logbf71f0af04b75c7845c6740e0680b286...bitcoin-osx-0.18-res.ymlad94f8bda17c6ed89b77208b1b0e1db1...bitcoin-osx-build.log12796def65aa1165a26ca5ba90740c5a...bitcoin-win-0.18-res.ymla5be5701f9bd1584ee92422e8ae39fb1...bitcoin-win-build.log
- DrahtBot removed the label Needs gitian build on Aug 21, 2018
-
laanwj commented at 11:35 AM on August 23, 2018: member
Need to skip RISC-V for now, the linker would export so many symbols.
FWIW checking the imports (against symbol versions) is much more important than checking the exports, as that's what prevents binary incompatibilities.
- ken2812221 force-pushed on Aug 25, 2018
- ken2812221 force-pushed on Aug 25, 2018
- ken2812221 force-pushed on Aug 25, 2018
-
[contrib] Support ARM and RISC-V symbol check c516c3a770
- ken2812221 force-pushed on Aug 25, 2018
-
laanwj commented at 2:49 PM on August 25, 2018: member
utACK c516c3a770e93dcd283dc4a9275cba88221d0e3a
-
luke-jr commented at 7:01 PM on August 25, 2018: member
Hmm, didn't see this sooner. FWIW, I have another alternative to this we can evaluate.
- laanwj merged this on Aug 31, 2018
- laanwj closed this on Aug 31, 2018
- laanwj referenced this in commit 48ed386fa6 on Aug 31, 2018
- ken2812221 deleted the branch on Aug 31, 2018
- Munkybooty referenced this in commit 83e04fef3b on Jun 30, 2021
- Munkybooty referenced this in commit 51acbb64a0 on Jul 2, 2021
- Munkybooty referenced this in commit f5a46e294f on Jul 2, 2021
- DrahtBot locked this on Sep 8, 2021
Milestone
0.18.0