Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: merge bitcoin#21089, #27670, #24031, #26470, #27296, #27179, #27813, #27811, #28069, #28294, #28324, #28328, #29987 (guix backports: part 4) #6382

Merged
merged 16 commits into from
Nov 10, 2024

Conversation

kwvg
Copy link
Collaborator

@kwvg kwvg commented Nov 4, 2024

Motivation

In preparation for migrating to C++20 and bumping our minimum required compiler to ensure that we have access to greater portions of the C++20 spec, this pull request first of two pull requests aiming to upgrade our Guix setup to use GCC 12 (and GCC 11 for the macOS toolchain).

Upgrades to the Clang toolchain for macOS and moving to GCC 12 for the macOS toolchain will be addressed in a separate pull request as the latter requires bitcoin#21778, which is well outside the scope of this PR.

Additional Notes

  • Dependency for backport: merge bitcoin#28370, #28759, #28580, #28786, #29078, #27897, #29651, #29695, #29673, #29828, #29846, #30231, #30438, partial bitcoin#30511 (guix backports: part 5) #6383

  • Newer versions of GCC will not behave as expected with test-security-check.py as the stack protector (listed as Canary in the test) now behaves as expected and no longer fails. This causes an error when running it as the test expects failure (see below). This isn't an issue upstream as they backported bitcoin#29987, which gets rid of those tests (source).

    Therefore, we have backported that pull request as well.

    Build failure:
    ======================================================================
    FAIL: test_ELF (__main__.TestSecurityChecks)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/distsrc-base/distsrc-22.0.0-beta.1-70-g7907fab39c17-x86_64-linux-gnu/./contrib/devtools/test-security-check.py", line 61, in test_ELF
        self.assertEqual(call_security_check(cc, source, executable, ['-Wl,-zexecstack','-fno-stack-protector','-Wl,-znorelro','-no-pie','-fno-PIE', '-Wl,-z,separate-code']),
    AssertionError: Tuples differ: (1, 'test1: failed PIE NX RELRO CONTROL_FLOW') != (1, 'test1: failed PIE NX RELRO Canary CONTROL_FLOW')
    
    First differing element 1:
    'test1: failed PIE NX RELRO CONTROL_FLOW'
    'test1: failed PIE NX RELRO Canary CONTROL_FLOW'
    
    - (1, 'test1: failed PIE NX RELRO CONTROL_FLOW')
    + (1, 'test1: failed PIE NX RELRO Canary CONTROL_FLOW')
    ?                                +++++++
    
    
    ----------------------------------------------------------------------
    Ran 1 test in 0.126s
    
    FAILED (failures=1)
    
    • The backport has the effect of bumping the target glibc version to 2.31, which as the release notes say, cuts off support for RHEL 8 and Ubuntu 18.04 LTS (bionic) (i.e. our Guix binaries won't run on these distros anymore, users running those distros will have to compile it themselves).

    This shouldn't be a problem as full support for RHEL 8 ended May 31, 2024 (source) and standard support for bionic ended April 2023 (source).

    Dash Core will still work on Ubuntu 20.04 LTS (focal) as it ships with glibc 2.31 (source)

Breaking Changes

None expected

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (note: N/A)
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@kwvg kwvg added this to the 22 milestone Nov 4, 2024
@kwvg
Copy link
Collaborator Author

kwvg commented Nov 4, 2024

Expected hashes for 45f3b34

f2d82e1c98cbddc6ed5d2d445022a858abbe9b371abadebe1a089324a5d5e099  dashcore-22.0.0-beta.1-83-g45f3b34be738-aarch64-linux-gnu-debug.tar.gz
8a79f4e5e575a25248f8f51725e7dacef4de6831c957614e4c511b8d49c8809d  dashcore-22.0.0-beta.1-83-g45f3b34be738-aarch64-linux-gnu.tar.gz
cabcfba350f9a0ba6d21749307de0a18cb5c08dbe2102cff7da32c0eaccbfd7f  dashcore-22.0.0-beta.1-83-g45f3b34be738-arm-linux-gnueabihf-debug.tar.gz
66e32cb0f862d79a5e5cde1d090d5b049b36d9c1508015b344887867feb0d166  dashcore-22.0.0-beta.1-83-g45f3b34be738-arm-linux-gnueabihf.tar.gz
5291e3d3880e57978345f72ed10bb02f45d2f3879e9640414fde72632344163b  dashcore-22.0.0-beta.1-83-g45f3b34be738-arm64-apple-darwin-unsigned.dmg
0bd364f9d678c837221ebcfa89275bdaa4ab1a1a664e1524d8a734b3b922dc4a  dashcore-22.0.0-beta.1-83-g45f3b34be738-arm64-apple-darwin-unsigned.tar.gz
0fc0ebafd4c0cce55cbba8543aec2db5f711beb2843ee9b7fff459346fe7f4d6  dashcore-22.0.0-beta.1-83-g45f3b34be738-arm64-apple-darwin.tar.gz
234d570a3c593c1115f19c008de62d77ab4cee67e3488c3dfc9475a9a2d1f8aa  dashcore-22.0.0-beta.1-83-g45f3b34be738.tar.gz
684346f65577a9f41e163b779e218efbd8128e32d8f50140d80e3170798ea036  dashcore-22.0.0-beta.1-83-g45f3b34be738-powerpc64-linux-gnu-debug.tar.gz
2f10620302d52618ea81bdc2daf8bfa11864105e726eba98f9e5d2cbe2c114b0  dashcore-22.0.0-beta.1-83-g45f3b34be738-powerpc64-linux-gnu.tar.gz
1a4342f0c95439e77b5a7b736a25bfb5d98c71df45575012512ec282f4fce595  dashcore-22.0.0-beta.1-83-g45f3b34be738-riscv64-linux-gnu-debug.tar.gz
91918d769c143e06e43f7cdcfa690eea1561bd140e518d7df556ac8e4463d091  dashcore-22.0.0-beta.1-83-g45f3b34be738-riscv64-linux-gnu.tar.gz
1e062c046252f39a9b38f0d8e7b3bd77802919024fcbe63f9c0ce297d445902c  dashcore-22.0.0-beta.1-83-g45f3b34be738-x86_64-apple-darwin-unsigned.dmg
7358230cbdbb1e78df567e674788128e6c0399770a7420bc2294218b8c93f890  dashcore-22.0.0-beta.1-83-g45f3b34be738-x86_64-apple-darwin-unsigned.tar.gz
1f3e7c948feb33f9db70daa161a0f55d2ec7a17e248a4629032ee056f22c4192  dashcore-22.0.0-beta.1-83-g45f3b34be738-x86_64-apple-darwin.tar.gz
0135b7a8d2d16804c9601222302d50905f95530ff4d0893ece7549081981b804  dashcore-22.0.0-beta.1-83-g45f3b34be738-x86_64-linux-gnu-debug.tar.gz
7d2e07b0da68640fb57df1567bab3ebba166ed1326a833acd503eb1b6034662e  dashcore-22.0.0-beta.1-83-g45f3b34be738-x86_64-linux-gnu.tar.gz
5ff21def94bb0196c49128c70489e446bdcf12af4dd60e5c7ed0452b20506355  dashcore-22.0.0-beta.1-83-g45f3b34be738-win64-debug.zip
a2585e0de8591fee657100b0e9c17a92f33e427af74ba2024af505924fd9c32c  dashcore-22.0.0-beta.1-83-g45f3b34be738-win64-setup-unsigned.exe
651873e5f08a0edff07622c1bf373b95b98c228f825ecb97f609122e2deb0aa1  dashcore-22.0.0-beta.1-83-g45f3b34be738-win64-unsigned.tar.gz
9e99ee52e1fea47aeb062e484f126d3b4aee26f28db803351a7da5faa5666bac  dashcore-22.0.0-beta.1-83-g45f3b34be738-win64.zip

@kwvg kwvg added the guix-build label Nov 4, 2024
@DashCoreAutoGuix
Copy link

Guix Automation has failed due to the HEAD commit not being signed by an authorized core-team member. Please rebase and sign or push a new empty signed commit to allow Guix build to happen.

@kwvg kwvg added guix-build and removed guix-build labels Nov 4, 2024
@kwvg kwvg changed the title backport: merge bitcoin#21089, #27670, #24031, #26470, #27296, #27179, #27813, #27811, #28069, #28294, #28324, #28328, #28370, #28759, #28580, #28786, #29078, #27897, #29651, #29695, #29673, #29828, #29846, #30231, #29987, #30438, partial bitcoin#30511 (guix backports: part 4) backport: merge bitcoin#21089, #27670, #24031, #26470, #27296, #27179, #27813, #27811, #28069, #28294, #28324, #28328, #29987 (guix backports: part 4) Nov 5, 2024
@kwvg kwvg added guix-build and removed guix-build labels Nov 5, 2024
@kwvg
Copy link
Collaborator Author

kwvg commented Nov 5, 2024

Expected hashes for 6536c79

0f33389fb2527436f8b28fe398482dd8666027b1307ae8840a7991c1d65c009d  dashcore-22.0.0-beta.1-69-g6536c79567a7-aarch64-linux-gnu-debug.tar.gz
a88edcc6256a891f7ff7b7c2962726d9d957d53e0ed81cef76e73e2006cd1b87  dashcore-22.0.0-beta.1-69-g6536c79567a7-aarch64-linux-gnu.tar.gz
d84477008f53be7b08f129e4169d4e1e723c70ff671e5f2a5462f1a359efe5d8  dashcore-22.0.0-beta.1-69-g6536c79567a7-arm-linux-gnueabihf-debug.tar.gz
5f70d6031cac91e45a6ce5ed897e302a10bfbe6295b7bede1ff928187e1c4b5d  dashcore-22.0.0-beta.1-69-g6536c79567a7-arm-linux-gnueabihf.tar.gz
187ea8b2435fb493e8503fd1901e33845be9cd1f060b995f593d7fb649215546  dashcore-22.0.0-beta.1-69-g6536c79567a7-arm64-apple-darwin-unsigned.dmg
48aeeb68df2901149817d615fa74f32f5ab59146219374a2ffa539a31bb2661a  dashcore-22.0.0-beta.1-69-g6536c79567a7-arm64-apple-darwin-unsigned.tar.gz
121588970212b8682fd4f3964a1904b4f2be4ae2c98b94005149c8c75845e7f0  dashcore-22.0.0-beta.1-69-g6536c79567a7-arm64-apple-darwin.tar.gz
75f20b3786471d570d1542421b7c4180bafa03286df666e180d11d9998bc12df  dashcore-22.0.0-beta.1-69-g6536c79567a7.tar.gz
87ca0be0ffa1000ca6801255d8f9bc4493dd8bd8ceed4d32fb0c9807728de04e  dashcore-22.0.0-beta.1-69-g6536c79567a7-powerpc64-linux-gnu-debug.tar.gz
28108d19c0a03c7fc7ed2664bda157952ac915570ba6f4d869be3abd1e0b3586  dashcore-22.0.0-beta.1-69-g6536c79567a7-powerpc64-linux-gnu.tar.gz
32cc92884e6dbb8a4ea9898d5cc4dbff21facc11e91fd45155d6b856794af890  dashcore-22.0.0-beta.1-69-g6536c79567a7-powerpc64le-linux-gnu-debug.tar.gz
b82bed8d23dd242f7337872ec2670de902008835637e777d7f67c1bf3af7da38  dashcore-22.0.0-beta.1-69-g6536c79567a7-powerpc64le-linux-gnu.tar.gz
21d27ae41f62b972f71b840fd74096d3f94f9c404afb97a28b0e200c823c2bf0  dashcore-22.0.0-beta.1-69-g6536c79567a7-riscv64-linux-gnu-debug.tar.gz
501cc3d0f1c147037ded556923e160d4eb0f46c4316234a700a61aef29ac7df5  dashcore-22.0.0-beta.1-69-g6536c79567a7-riscv64-linux-gnu.tar.gz
b1ddc5e980af3490254a4ceecfe175c7ca17b36b0ee13e3163a7f290d2dfc227  dashcore-22.0.0-beta.1-69-g6536c79567a7-x86_64-apple-darwin-unsigned.dmg
bad32e88ef642c5d4e347c51f3ac7a48d7537b889aba4d1aee9d6a7e4c0851b0  dashcore-22.0.0-beta.1-69-g6536c79567a7-x86_64-apple-darwin-unsigned.tar.gz
2b407abee62bc9189e1c17c467fbf3c8e2f1d4455418ca2739d6ae92a1f2945b  dashcore-22.0.0-beta.1-69-g6536c79567a7-x86_64-apple-darwin.tar.gz
dc97ced747c0953f3c8edffd3fe3a6830a6b9a4237fdaae221b5f35e5aa42a42  dashcore-22.0.0-beta.1-69-g6536c79567a7-x86_64-linux-gnu-debug.tar.gz
5bfc15b78f1c35b45156271af5db456fbc16811557102da079e4079a3049fe7f  dashcore-22.0.0-beta.1-69-g6536c79567a7-x86_64-linux-gnu.tar.gz
72ebf7c8e732d90c24ac983cb4b40f4d984490222bf23590d84019695b45e66a  dashcore-22.0.0-beta.1-69-g6536c79567a7-win64-debug.zip
d15332c417970e8a83c3c10e50c22db65f3983884f784c8fa5a0e2072c644846  dashcore-22.0.0-beta.1-69-g6536c79567a7-win64-setup-unsigned.exe
37d543d4e0cb79d6abfb8c18edb31e8ffdb0ccd23fef825341ec9e17d80f781e  dashcore-22.0.0-beta.1-69-g6536c79567a7-win64-unsigned.tar.gz
c1df22f013d96fd8f961f66d7e2a3a26fd69e013953031bec0d793ebd9be45a4  dashcore-22.0.0-beta.1-69-g6536c79567a7-win64.zip

@DashCoreAutoGuix
Copy link

Guix Automation has failed due to the HEAD commit not being signed by an authorized core-team member. Please rebase and sign or push a new empty signed commit to allow Guix build to happen.

@kwvg
Copy link
Collaborator Author

kwvg commented Nov 5, 2024

Expected hashes for c960aaa

a556f8e148302054142395a04eb6e192d21900545ce6c9de40d4e1636667701e  dashcore-22.0.0-beta.1-80-gc960aaa8e094-aarch64-linux-gnu-debug.tar.gz
4308295530d3b60ae4b17405f5dae34ba2eb03009f909059e30cc21ca84208d5  dashcore-22.0.0-beta.1-80-gc960aaa8e094-aarch64-linux-gnu.tar.gz
f40998ebf15cff326b9fddf22c88e7d40aa06a38c169eea1890540cc56b6619b  dashcore-22.0.0-beta.1-80-gc960aaa8e094-arm-linux-gnueabihf-debug.tar.gz
5b2a52af75e0ad2a88a16cd61690cde4b0b1bfb2af5991e72abed5d51395535b  dashcore-22.0.0-beta.1-80-gc960aaa8e094-arm-linux-gnueabihf.tar.gz
294331c8fbc7a9c7b07565d78931451cb23649477b0b15d6ba546003cf81b47f  dashcore-22.0.0-beta.1-80-gc960aaa8e094-arm64-apple-darwin-unsigned.dmg
b3e1cf0300db3b783d12b8539daa9fa91aa395a23a52523b388c20bcaad6415e  dashcore-22.0.0-beta.1-80-gc960aaa8e094-arm64-apple-darwin-unsigned.tar.gz
65afb4db77c010e9f2b2d507b57b9a5e5241725e1e6cfe91715bd3b26ba75a43  dashcore-22.0.0-beta.1-80-gc960aaa8e094-arm64-apple-darwin.tar.gz
08984b9f450947eee41a6be5a8f080beba945d90bb2958c614188aba1f4189c5  dashcore-22.0.0-beta.1-80-gc960aaa8e094.tar.gz
fdac498c27c2ee9c5083980299ce750754fa19a7e8649a96bcfc1a60fd79b3b4  dashcore-22.0.0-beta.1-80-gc960aaa8e094-powerpc64-linux-gnu-debug.tar.gz
9c724239a032775670df05edb9d50602f98075cd37a21d55c9f90faab3375768  dashcore-22.0.0-beta.1-80-gc960aaa8e094-powerpc64-linux-gnu.tar.gz
ac990bb09ff208013bdd9de3d2f5c003e85df613a5ee234279c3ded551db0ca1  dashcore-22.0.0-beta.1-80-gc960aaa8e094-powerpc64le-linux-gnu-debug.tar.gz
87c2182e92000e1c82649da5f90a10396521d85ec893c14f8cbc75f0758b6e8d  dashcore-22.0.0-beta.1-80-gc960aaa8e094-powerpc64le-linux-gnu.tar.gz
611c321fa7e10699eebba6f92bb121fc2cabb8181a12b8e475ccea7a81d6c6ec  dashcore-22.0.0-beta.1-80-gc960aaa8e094-riscv64-linux-gnu-debug.tar.gz
8cbaf17da4b99f51b220122e4ca2a636f904cfaf8b44d136c93a9f37d90d850f  dashcore-22.0.0-beta.1-80-gc960aaa8e094-riscv64-linux-gnu.tar.gz
2575b3c0826251ceb749fb11285a5732cb7ac3f1bfa0964c1bbe64b4dc38c38b  dashcore-22.0.0-beta.1-80-gc960aaa8e094-x86_64-apple-darwin-unsigned.dmg
671eebe0060a28e40f3b3ea93c2d5c6513da73384baab7a62361ab5e8c37f8dc  dashcore-22.0.0-beta.1-80-gc960aaa8e094-x86_64-apple-darwin-unsigned.tar.gz
11ba946d251486f385f20311a6d4bc843052b80765ece0a635601d4e406b46d6  dashcore-22.0.0-beta.1-80-gc960aaa8e094-x86_64-apple-darwin.tar.gz
72c762f5ac04af89d41cf45ee59acc69c9fc04e28ddd6f8556e75b19d156eff8  dashcore-22.0.0-beta.1-80-gc960aaa8e094-x86_64-linux-gnu-debug.tar.gz
d4536e0b957bbbb37c33430e5ede96917c6d1e8cdfae8e79e92ea40ffa71d251  dashcore-22.0.0-beta.1-80-gc960aaa8e094-x86_64-linux-gnu.tar.gz
70dc0519dcf8a6b086ebc407a72d82a432a7e8d14d3cc3456c15ca568273dc43  dashcore-22.0.0-beta.1-80-gc960aaa8e094-win64-debug.zip
c8b3e0d2a44f3aa0ab9367a535336973477c99a751de28402aa73e9ca49a9a10  dashcore-22.0.0-beta.1-80-gc960aaa8e094-win64-setup-unsigned.exe
62bbe467212fea7eff1950d387de6513a83d69d97d19e8d9d4b542efcad3b742  dashcore-22.0.0-beta.1-80-gc960aaa8e094-win64-unsigned.tar.gz
265a173d36d5f168e4c8c3b544c28978a4335c04466af872e112febca3729830  dashcore-22.0.0-beta.1-80-gc960aaa8e094-win64.zip

@kwvg kwvg added guix-build and removed guix-build labels Nov 5, 2024
@DashCoreAutoGuix
Copy link

Guix Automation has began to build this PR tagged as v22.0.0-devpr6382.c960aaa8. A new comment will be made when the image is pushed.

@DashCoreAutoGuix
Copy link

Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v22.0.0-devpr6382.c960aaa8. The image should be on dockerhub soon.

@UdjinM6
Copy link

UdjinM6 commented Nov 6, 2024

Guix CI is broken, pls try applying 056b91d (my results https://github.com/UdjinM6/dash/actions/runs/11699788621)

@kwvg
Copy link
Collaborator Author

kwvg commented Nov 6, 2024

Expected hashes for 1edd121

da409b8ba3471ce360cf21def8a1b3bc4d47579f061fc6fdccc720805469c1b5  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-aarch64-linux-gnu-debug.tar.gz
a6c85777e8d129a74213eb16a0d9cf6e47f5f438cdabae030e869acc836c535c  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-aarch64-linux-gnu.tar.gz
9eb05ccd3978c6af00039233fb3a8c26db3332123ed2972c8d942faee23cf1a2  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-arm-linux-gnueabihf-debug.tar.gz
fbc9e454d16e4720a8de351c62a9d08263595209fb20a4f0b2c0c0e6f97edb00  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-arm-linux-gnueabihf.tar.gz
144948ea264cf0f2940152eb0085855f9342464fd8fa8ac443bece154bf7411d  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-arm64-apple-darwin-unsigned.dmg
11eafe82c26789b12ea39848708f4a10df6a6ae722b3a8aea9d6bad9ca87a3dc  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-arm64-apple-darwin-unsigned.tar.gz
ad47e65a2c92b068f6e57dcd268f171c831fca43d2b874d0997f70e7eb54885f  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-arm64-apple-darwin.tar.gz
50be5b6272c63daeecf69b58386efe6b51d14c9ffbd559735f48cd19eaefd561  dashcore-22.0.0-beta.1-81-g1edd1215ef3e.tar.gz
a8c83247b92bedfa19f6f941e0427a377a6d1d8090db0404f417670f451e5076  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-powerpc64-linux-gnu-debug.tar.gz
323d91d42777afc4f62fc26abfca6859422a22b28a8749fffddafa0ecd8c4531  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-powerpc64-linux-gnu.tar.gz
362765ef0071efd1243e05ddd024bcdde266972011790fd4921cefc6835a3513  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-powerpc64le-linux-gnu-debug.tar.gz
e3b0d92b77c0ca4e53cc6d334012e2ffc3a8fa3b4c89988e2783f6b03dad07b4  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-powerpc64le-linux-gnu.tar.gz
d3c835b56add8d3de086c0f880b33c80cd1cb4753e6ab2b5864bd41bed4d13dc  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-riscv64-linux-gnu-debug.tar.gz
7ec9c332b61cd6f4ca7ad3b07ee8ee20f4e89b65cf80e8b50857a5a1e3c23550  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-riscv64-linux-gnu.tar.gz
4c16933a7ea788a0b7808c82694a92769956dcb66bbd68cd9c3c1ebdb1369584  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-x86_64-apple-darwin-unsigned.dmg
dd61d8e6976d91f61e90861a636798c48ff48de31e4b738e556ff5b4d5a5896f  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-x86_64-apple-darwin-unsigned.tar.gz
c871d2f7d73148fb42f9f420ce717b644d73bb2d613f9c40f34420cefdda5c20  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-x86_64-apple-darwin.tar.gz
ac74348127449d8916c3dabeb59ef84f87acec887976b5fa21e6a2bd65149f2e  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-x86_64-linux-gnu-debug.tar.gz
0d1a21756abf9012c2410f3d6a450538e134a2bb2cf6a661d801515dcad6c506  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-x86_64-linux-gnu.tar.gz
a7176fad6160cc075a92bafe4b8690143bbefe08cba812dcc0589d1b12be7722  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-win64-debug.zip
f9ae5a7cf360d36bb65508e97a5fd2047cf4501f186a5af2adad7b4ecbd10b9b  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-win64-setup-unsigned.exe
9c33dd0562f09958329317d6952bd663b064d58a5cc3786885b66b424110a529  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-win64-unsigned.tar.gz
6adea5d5b6f39aae7cac82612f24a87a2ab89d149ab2f3410ff994aee2456714  dashcore-22.0.0-beta.1-81-g1edd1215ef3e-win64.zip

@kwvg kwvg removed the guix-build label Nov 6, 2024
@kwvg kwvg requested review from UdjinM6 and removed request for UdjinM6 November 7, 2024 03:24
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, hashes match

utACK 1edd121

@@ -74,7 +74,7 @@ mkdir -p "$VERSION_BASE"
################

# Default to building for all supported HOSTs (overridable by environment)
export HOSTS="${HOSTS:-x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu
export HOSTS="${HOSTS:-x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu powerpc64-linux-gnu powerpc64le-linux-gnu
Copy link
Member

@PastaPastaPasta PastaPastaPasta Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sooo maybe I'm architecture-ist, but I don't really want to support power... I don't think there are really any production level consumer devices that run on power, besides maybe really old MacBooks. And this will significantly increase space and time needed for guix builds... I'm okay with being ABLE to build guix for power, but I don't think we should ship, test, or support it. Open to being convinced...

(Unrelated, but I also would want to drop 32 bit arm linux I think... Very unlikely many people actually run on arm32 linux imo)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default to building for all supported HOSTs (overridable by environment)

we can simply just adjust our build scripts (HOSTS="whatever archs we want" /contrib/guix/guix-build) 🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would prefer that guix-build only builds the HOSTS we ship by default.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, yeah, you could do smth like that I guess to avoid accidental unnecessary builds. Let's maybe do it in a separate PR though?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind modifying guix-start to exclude PowerPC, we can even go so far as building only on platforms we actively support (dropping 32-bit ARM and maybe, RISC-V), because it's our solution and won't conflict with upstream but I think that should be a separate PR.

@PastaPastaPasta PastaPastaPasta merged commit f155ecf into dashpay:develop Nov 10, 2024
43 checks passed
PastaPastaPasta added a commit that referenced this pull request Nov 12, 2024
, bitcoin#28786, bitcoin#29078, bitcoin#27897, bitcoin#29651, bitcoin#29695, bitcoin#29673, bitcoin#29828, bitcoin#29846, bitcoin#30231, bitcoin#30438, partial bitcoin#30511 (guix backports: part 5)

91b7ef8 merge bitcoin#30438: build Linux GCC with --enable-cet (Kittywhiskers Van Gogh)
cfc6cba partial bitcoin#30511: GCC 12 consolidation (Kittywhiskers Van Gogh)
06f5431 merge bitcoin#30231: bump time-machine to f0bb724211872cd6158fce6162e0b8c73efed126 (Kittywhiskers Van Gogh)
5b292ee merge bitcoin#29846: replace GCC unaligned VMOV patch with binutils patch (Kittywhiskers Van Gogh)
4d1f7dc merge bitcoin#29828: remove `gcc-toolchain static` from Windows build (Kittywhiskers Van Gogh)
f321d3d merge bitcoin#29673: use GCC 11 in macOS build env (Kittywhiskers Van Gogh)
d570e2d merge bitcoin#29695: build GCC with --enable-standard-branch-protection (Kittywhiskers Van Gogh)
c965943 merge bitcoin#29651: bump time-machine to dc4842797bfdc5f9f3f5f725bf189c2b68bd6b5a (Kittywhiskers Van Gogh)
59a125a merge bitcoin#27897: use GCC 12.3.0 to build releases (Kittywhiskers Van Gogh)
a701b06 merge bitcoin#29078: Bump guix time-machine to unlock riscv64 metal (Kittywhiskers Van Gogh)
d4b10a3 merge bitcoin#28786: switch to 6.1 kernel headers over 5.15 (Kittywhiskers Van Gogh)
c371870 merge bitcoin#28580: update time-machine (Kittywhiskers Van Gogh)
d36c9b6 merge bitcoin#28759: update signapple to latest master (Kittywhiskers Van Gogh)
38c71d8 merge bitcoin#28370: remove GCC 10 workaround from NSIS (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  * Dependent on #6382
  * Dependency for #6384

  ## Breaking Changes

  None expected

  ## Checklist

  - [x] I have performed a self-review of my own code
  - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
  - [x] I have added or updated relevant unit/integration/functional/e2e tests **(note: N/A)**
  - [x] I have made corresponding changes to the documentation **(note: N/A)**
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  UdjinM6:
    utACK 91b7ef8

Tree-SHA512: 0cfb436a430cf4b624a48a9928ecac9cd5c50e88e51ed04e7d1d0100968af8be1183364f035ac75153781a5e1616aa2f6fadabf0a1c03ec4b66dedea544b77ad
PastaPastaPasta added a commit that referenced this pull request Nov 14, 2024
…pdate `guix-start` and `guix-check` to work correctly outside of containers

c5d482e chore: suppress `git config` output (UdjinM6)
8ce9bfe chore: tweak error message (UdjinM6)
f4d879a guix: more sanity checks for `WORKSPACE_PATH` (UdjinM6)
07f056a guix: Let `XCODE_SOURCE` be specified via env (UdjinM6)
74489dc chore: Log when preparing macOS SDK or adding `safe.directory` option (UdjinM6)
3ac5739 guix: "Invert" `guix-start`/`guix-check` cmd-line argument behaviour, defaults to `pwd` (UdjinM6)
187a4f1 guix: Avoid adding duplicate `safe.directory` option (UdjinM6)
87c9786 guix: `guix-start` should respect `SDK_PATH` (UdjinM6)
ee5f62b guix: build only supported targets using Guix container (Kittywhiskers Van Gogh)

Pull request description:

  ## Issue being fixed or feature implemented
  #6382 (comment) #6388 (comment)

  alternative to #6388

  ## What was done?

  ## How Has This Been Tested?

  ## Breaking Changes

  ## Checklist:
  - [ ] I have performed a self-review of my own code
  - [ ] I have commented my code, particularly in hard-to-understand areas
  - [ ] I have added or updated relevant unit/integration/functional/e2e tests
  - [ ] I have made corresponding changes to the documentation
  - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  kwvg:
    ACK c5d482e

Tree-SHA512: c0271f243f5912f55276fcb371a135f443f23cc1f29480f303ea77deeadb6fd7d3d97e07e6a1fa323a2b2bad1d65aa6298da33978832eb68a0a6303db3e0063c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants