[contrib] Support ARM and RISC-V symbol check#13724
[contrib] Support ARM and RISC-V symbol check#13724laanwj merged 1 commit intobitcoin:masterfrom ken2812221:symbol-check-all
Conversation
Note to reviewers: This pull request conflicts with the following ones:
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. |
|
Thanks for adding this! |
|
utACK 8f62ece7c1dddc4f69141d884b7c1863776c4fa7 (though as it is dependent on #13665, this should only go in after the |
|
#13665 is not ready to merge since it would export a lot of symbols. |
|
Have you run the symbol check after cross compilation? It seems to fail for me: |
|
@MarcoFalke Fixed. Sorry about not testing before I commited. I've tested 85ec33a35dfec2cc3b2e0decb5e184650caecdef (master + 60976f2) that can successfully do gitian build. |
|
Needs rebase after #13665 |
|
Need to skip RISC-V for now, the linker would export so many symbols. |
|
Gitian builds for commit 4732fa1 (master):
Gitian builds for commit 73a989af091d816b5029706b7124fd74d7a7f9b2 (master and this pull):
|
FWIW checking the imports (against symbol versions) is much more important than checking the exports, as that's what prevents binary incompatibilities. |
|
utACK c516c3a |
|
Hmm, didn't see this sooner. FWIW, I have another alternative to this we can evaluate. |
|
I'm going ahead and merging this, @luke-jr please rebase your stuff on top. |
c516c3a [contrib] Support ARM and RISC-V symbol check (Chun Kuan Lee) Pull request description: Solve the TODO in the gitian-descripter Tree-SHA512: 8115e2958af3dde43d9d9d05f0b1b1b93b1c2aa513e771a3e4e1342a5d78af2b0e40c0bbb7e9a0d15954897317e6f5a0d80996239af3b376d5ddd527f73428ae
c516c3a [contrib] Support ARM and RISC-V symbol check (Chun Kuan Lee) Pull request description: Solve the TODO in the gitian-descripter Tree-SHA512: 8115e2958af3dde43d9d9d05f0b1b1b93b1c2aa513e771a3e4e1342a5d78af2b0e40c0bbb7e9a0d15954897317e6f5a0d80996239af3b376d5ddd527f73428ae # Conflicts: # contrib/devtools/symbol-check.py # contrib/gitian-descriptors/gitian-linux.yml
Solve the TODO in the gitian-descripter