Skip to content

Conversation

fanquake
Copy link
Member

I need to try and patch around Qts buildsystem to keep #21778 moving along (the issue being that even when you tell Qt to build using Clang on Linux, it still calls out to GCC, breaking our ability to have a macOS release build env that doesn't have a GCC toolchain installed, and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS release, and update the current patch set.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 26, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK TheCharlatan, hebasto

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #21778 (build: LLD based macOS toolchain by fanquake)

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.

@hebasto
Copy link
Member

hebasto commented Mar 26, 2024

Concept ACK.

@hebasto
Copy link
Member

hebasto commented Mar 26, 2024

My Guix build:

x86_64
cdb3ff2cc9ee2ac4a60c8921359396c7b5b83447b54d223fa767c3e641bac182  guix-build-ac9879c061af/output/aarch64-linux-gnu/SHA256SUMS.part
58befd66969efb6473dc68ad9476334bf7544c4827ec28eae28437263b248020  guix-build-ac9879c061af/output/aarch64-linux-gnu/bitcoin-ac9879c061af-aarch64-linux-gnu-debug.tar.gz
53c6dd645f81be3bc3f52768331503c67034db17618fedd344e1283e50700caa  guix-build-ac9879c061af/output/aarch64-linux-gnu/bitcoin-ac9879c061af-aarch64-linux-gnu.tar.gz
7b9aa3aaa5ec51c7d8036abb94eb1f23195049022ee43ee11d401bc86f2990d9  guix-build-ac9879c061af/output/arm-linux-gnueabihf/SHA256SUMS.part
e67d97e27791d8323a4e958dba07d8b5ad220d20d525b77c223e1d13a139e555  guix-build-ac9879c061af/output/arm-linux-gnueabihf/bitcoin-ac9879c061af-arm-linux-gnueabihf-debug.tar.gz
bf621a9c9bf2f5a2a827e552766df7de6f0f4610f8d22a9b776b47e9f878af04  guix-build-ac9879c061af/output/arm-linux-gnueabihf/bitcoin-ac9879c061af-arm-linux-gnueabihf.tar.gz
fb2ecccd91e4154a47d7f509bd4f8255a3fd99e5bcc0af8a0d94ac7a16dd083f  guix-build-ac9879c061af/output/arm64-apple-darwin/SHA256SUMS.part
a3d592d77e231d8fded035a9f388f7c19285178c301d7c8e75e1510ad4ad399d  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin-unsigned.tar.gz
7d6bf27ee6568e4507847cb9d46dc25e35e79d9b1441807003d41b26a962ec5f  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin-unsigned.zip
84ed55538e7ff2baf9436fb277e9a92a2791e17a976b9ef8316daf36fc65096b  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin.tar.gz
9ba85fd31ebc9b7056345fb33b1ecdfe2c2b5be0fb34900be4f680145dcd705c  guix-build-ac9879c061af/output/dist-archive/bitcoin-ac9879c061af.tar.gz
c4a82c0e42e5f950d1c11df0e4fb17b417bd402261103ee409fad52d94042a00  guix-build-ac9879c061af/output/powerpc64-linux-gnu/SHA256SUMS.part
4bfa02a566b0862a027eca2d2b72746f3202dd99a20f912d05532e2d552a30bb  guix-build-ac9879c061af/output/powerpc64-linux-gnu/bitcoin-ac9879c061af-powerpc64-linux-gnu-debug.tar.gz
4594b1f0b8a64f795c7d1b88071e1844f7580cb8217973673212a533d218eb68  guix-build-ac9879c061af/output/powerpc64-linux-gnu/bitcoin-ac9879c061af-powerpc64-linux-gnu.tar.gz
790d95eb1a55d6bfe540abd713004118158480438a2a80d468a7fd781ff1f8a2  guix-build-ac9879c061af/output/riscv64-linux-gnu/SHA256SUMS.part
d54493b26d33cd144cf0376669efba365e6fc59cc2e4bf8bbdaf374373067460  guix-build-ac9879c061af/output/riscv64-linux-gnu/bitcoin-ac9879c061af-riscv64-linux-gnu-debug.tar.gz
8bd52003a4b01660916a97234ab172d3b8d4bfe90deea9025db54648c977f274  guix-build-ac9879c061af/output/riscv64-linux-gnu/bitcoin-ac9879c061af-riscv64-linux-gnu.tar.gz
38bc5ba2db9a2baf8b4be8cd80571a733ce11396a183313d2e5eda4390e25e12  guix-build-ac9879c061af/output/x86_64-apple-darwin/SHA256SUMS.part
6a71afeef1b80640cb830ab6c3b2fc4b3b5636dd20eb927aac39576e741f4dda  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin-unsigned.tar.gz
f9f9cddcfe2ca78998c77aa2feb580a5dfbd7e04b14a52a6324dee6e1e0f2d69  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin-unsigned.zip
649388ac163b907ee2f06df8b509e680cb48780731f4cf1691e613c92c317a18  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin.tar.gz
87ede93ae8624cdb2ce71218aa18d0f94e0374a826d52706293e712f1b64069b  guix-build-ac9879c061af/output/x86_64-linux-gnu/SHA256SUMS.part
fbb1f29aff36c07101bd7db3539e536ee33007f3f2791c4e2ba1fe3d6a0dd26c  guix-build-ac9879c061af/output/x86_64-linux-gnu/bitcoin-ac9879c061af-x86_64-linux-gnu-debug.tar.gz
e8e051e6c991e77206e75c1bbf9d7930cee23d522a57068142089bb2c2988857  guix-build-ac9879c061af/output/x86_64-linux-gnu/bitcoin-ac9879c061af-x86_64-linux-gnu.tar.gz
9bb68a94853b8b7c8629b16dcc5c1f9089e9e17249f22177e66d12e26623e013  guix-build-ac9879c061af/output/x86_64-w64-mingw32/SHA256SUMS.part
d746e34a5bae36d86f8ed05285594c3903010a11b0eb46254ef601ccea0da94c  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-debug.zip
fccf90b415f1d7f6dc443c8fca389252f2e2cc6f4a61de511c146c1a96e29359  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-setup-unsigned.exe
18f3ee8e0c7f515f8c8bd182a6e8ddd35bc4d116e0d5f16f133215cbb6312cf5  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-unsigned.tar.gz
81126a896f72d910602796ebb2ca466e7ad1a16c2578028c941d6e5eb38a981f  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64.zip

@tobtoht
Copy link

tobtoht commented Mar 26, 2024

$ uname --machine && find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
x86_64
cdb3ff2cc9ee2ac4a60c8921359396c7b5b83447b54d223fa767c3e641bac182  guix-build-ac9879c061af/output/aarch64-linux-gnu/SHA256SUMS.part
58befd66969efb6473dc68ad9476334bf7544c4827ec28eae28437263b248020  guix-build-ac9879c061af/output/aarch64-linux-gnu/bitcoin-ac9879c061af-aarch64-linux-gnu-debug.tar.gz
53c6dd645f81be3bc3f52768331503c67034db17618fedd344e1283e50700caa  guix-build-ac9879c061af/output/aarch64-linux-gnu/bitcoin-ac9879c061af-aarch64-linux-gnu.tar.gz
7b9aa3aaa5ec51c7d8036abb94eb1f23195049022ee43ee11d401bc86f2990d9  guix-build-ac9879c061af/output/arm-linux-gnueabihf/SHA256SUMS.part
e67d97e27791d8323a4e958dba07d8b5ad220d20d525b77c223e1d13a139e555  guix-build-ac9879c061af/output/arm-linux-gnueabihf/bitcoin-ac9879c061af-arm-linux-gnueabihf-debug.tar.gz
bf621a9c9bf2f5a2a827e552766df7de6f0f4610f8d22a9b776b47e9f878af04  guix-build-ac9879c061af/output/arm-linux-gnueabihf/bitcoin-ac9879c061af-arm-linux-gnueabihf.tar.gz
fb2ecccd91e4154a47d7f509bd4f8255a3fd99e5bcc0af8a0d94ac7a16dd083f  guix-build-ac9879c061af/output/arm64-apple-darwin/SHA256SUMS.part
a3d592d77e231d8fded035a9f388f7c19285178c301d7c8e75e1510ad4ad399d  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin-unsigned.tar.gz
7d6bf27ee6568e4507847cb9d46dc25e35e79d9b1441807003d41b26a962ec5f  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin-unsigned.zip
84ed55538e7ff2baf9436fb277e9a92a2791e17a976b9ef8316daf36fc65096b  guix-build-ac9879c061af/output/arm64-apple-darwin/bitcoin-ac9879c061af-arm64-apple-darwin.tar.gz
9ba85fd31ebc9b7056345fb33b1ecdfe2c2b5be0fb34900be4f680145dcd705c  guix-build-ac9879c061af/output/dist-archive/bitcoin-ac9879c061af.tar.gz
c4a82c0e42e5f950d1c11df0e4fb17b417bd402261103ee409fad52d94042a00  guix-build-ac9879c061af/output/powerpc64-linux-gnu/SHA256SUMS.part
4bfa02a566b0862a027eca2d2b72746f3202dd99a20f912d05532e2d552a30bb  guix-build-ac9879c061af/output/powerpc64-linux-gnu/bitcoin-ac9879c061af-powerpc64-linux-gnu-debug.tar.gz
4594b1f0b8a64f795c7d1b88071e1844f7580cb8217973673212a533d218eb68  guix-build-ac9879c061af/output/powerpc64-linux-gnu/bitcoin-ac9879c061af-powerpc64-linux-gnu.tar.gz
790d95eb1a55d6bfe540abd713004118158480438a2a80d468a7fd781ff1f8a2  guix-build-ac9879c061af/output/riscv64-linux-gnu/SHA256SUMS.part
d54493b26d33cd144cf0376669efba365e6fc59cc2e4bf8bbdaf374373067460  guix-build-ac9879c061af/output/riscv64-linux-gnu/bitcoin-ac9879c061af-riscv64-linux-gnu-debug.tar.gz
8bd52003a4b01660916a97234ab172d3b8d4bfe90deea9025db54648c977f274  guix-build-ac9879c061af/output/riscv64-linux-gnu/bitcoin-ac9879c061af-riscv64-linux-gnu.tar.gz
38bc5ba2db9a2baf8b4be8cd80571a733ce11396a183313d2e5eda4390e25e12  guix-build-ac9879c061af/output/x86_64-apple-darwin/SHA256SUMS.part
6a71afeef1b80640cb830ab6c3b2fc4b3b5636dd20eb927aac39576e741f4dda  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin-unsigned.tar.gz
f9f9cddcfe2ca78998c77aa2feb580a5dfbd7e04b14a52a6324dee6e1e0f2d69  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin-unsigned.zip
649388ac163b907ee2f06df8b509e680cb48780731f4cf1691e613c92c317a18  guix-build-ac9879c061af/output/x86_64-apple-darwin/bitcoin-ac9879c061af-x86_64-apple-darwin.tar.gz
87ede93ae8624cdb2ce71218aa18d0f94e0374a826d52706293e712f1b64069b  guix-build-ac9879c061af/output/x86_64-linux-gnu/SHA256SUMS.part
fbb1f29aff36c07101bd7db3539e536ee33007f3f2791c4e2ba1fe3d6a0dd26c  guix-build-ac9879c061af/output/x86_64-linux-gnu/bitcoin-ac9879c061af-x86_64-linux-gnu-debug.tar.gz
e8e051e6c991e77206e75c1bbf9d7930cee23d522a57068142089bb2c2988857  guix-build-ac9879c061af/output/x86_64-linux-gnu/bitcoin-ac9879c061af-x86_64-linux-gnu.tar.gz
9bb68a94853b8b7c8629b16dcc5c1f9089e9e17249f22177e66d12e26623e013  guix-build-ac9879c061af/output/x86_64-w64-mingw32/SHA256SUMS.part
d746e34a5bae36d86f8ed05285594c3903010a11b0eb46254ef601ccea0da94c  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-debug.zip
fccf90b415f1d7f6dc443c8fca389252f2e2cc6f4a61de511c146c1a96e29359  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-setup-unsigned.exe
18f3ee8e0c7f515f8c8bd182a6e8ddd35bc4d116e0d5f16f133215cbb6312cf5  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64-unsigned.tar.gz
81126a896f72d910602796ebb2ca466e7ad1a16c2578028c941d6e5eb38a981f  guix-build-ac9879c061af/output/x86_64-w64-mingw32/bitcoin-ac9879c061af-win64.zip

@maflcko
Copy link
Member

maflcko commented Mar 26, 2024

The tsan failure seem unrelated, but possibly a real one. Though, the tsan log is missing :(

Copy link
Contributor

@TheCharlatan TheCharlatan left a comment

Choose a reason for hiding this comment

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

ACK ac9879c

Getting the same guix hashes on aarch64 and x86_64.

@DrahtBot DrahtBot requested a review from hebasto March 26, 2024 19:05
@DrahtBot
Copy link
Contributor

Guix builds (on x86_64)

File commit 19b968f
(master)
commit 3087fb8
(master and this pull)
SHA256SUMS.part e4e013903565b3e7... 928ea88b44228842...
*-aarch64-linux-gnu-debug.tar.gz ff56ab801746d861... 42c9c2118af6ec2f...
*-aarch64-linux-gnu.tar.gz fb1bcd9e5f56fdda... 0174afbb59915a64...
*-arm-linux-gnueabihf-debug.tar.gz 06f6c82c00df0745... 63a24a88171872ae...
*-arm-linux-gnueabihf.tar.gz 296394b2a48ccb8f... e54335bb4c186c66...
*-arm64-apple-darwin-unsigned.tar.gz 9bcc376e72ad8b17... be2f231998be8b4e...
*-arm64-apple-darwin-unsigned.zip e935057d55e4e5df... b34817c5d09c6881...
*-arm64-apple-darwin.tar.gz 92196ed0979c0dab... 03efbdfb5b633972...
*-powerpc64-linux-gnu-debug.tar.gz 65e668cd946482e3... 0857eb1801a8e417...
*-powerpc64-linux-gnu.tar.gz 3b3f5113a066e1bc... f5ad617c5726f480...
*-riscv64-linux-gnu-debug.tar.gz c995f203c9c808af... 13c16890041dd83c...
*-riscv64-linux-gnu.tar.gz 01fd09d386f3bc50... 53906164d34122d7...
*-x86_64-apple-darwin-unsigned.tar.gz 78b7021c90e1673b... c29e3f1a628c4ee2...
*-x86_64-apple-darwin-unsigned.zip 6ff88c2d1a27e6e2... 57d547602c4e32a7...
*-x86_64-apple-darwin.tar.gz 841db7ce14bff9e7... 12cac24c5ce113e2...
*-x86_64-linux-gnu-debug.tar.gz 16f6e50a77e001ee... c7f20b33ea73c2dd...
*-x86_64-linux-gnu.tar.gz ece00d9a222e0928... 0c5d790f6a6602a8...
*.tar.gz 5e22899207af5684... c613e450229e5224...
guix_build.log eb7645af191106ce... db1367b93beed7dc...
guix_build.log.diff 5731ccb0b5684c08...

@hebasto
Copy link
Member

hebasto commented Mar 27, 2024

Running Android CI task locally fails:

$ env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'FILE_ENV="./ci/test/00_setup_env_android.sh" ./ci/test_run_all.sh'
...
rm -f ../../../lib/libqtpcre2_arm64-v8a.a
/ci_container_base/depends/SDKs/android/ndk/23.2.8568313/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar cqs ../../../lib/libqtpcre2_arm64-v8a.a .obj/pcre2_auto_possess.o .obj/pcre2_chartables.o .obj/pcre2_compile.o .obj/pcre2_config.o .obj/pcre2_context.o .obj/pcre2_dfa_match.o .obj/pcre2_error.o .obj/pcre2_extuni.o .obj/pcre2_find_bracket.o .obj/pcre2_jit_compile.o .obj/pcre2_maketables.o .obj/pcre2_match.o .obj/pcre2_match_data.o .obj/pcre2_newline.o .obj/pcre2_ord2utf.o .obj/pcre2_pattern_info.o .obj/pcre2_script_run.o .obj/pcre2_serialize.o .obj/pcre2_string_utils.o .obj/pcre2_study.o .obj/pcre2_substitute.o .obj/pcre2_substring.o .obj/pcre2_tables.o .obj/pcre2_ucd.o .obj/pcre2_valid_utf.o .obj/pcre2_xclass.o
make[4]: Leaving directory '/ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9/qtbase/src/3rdparty/pcre2'
rm -f ../../../lib/libQt5Bootstrap.a
ar cqs ../../../lib/libQt5Bootstrap.a .obj/qlatincodec.o .obj/qtextcodec.o .obj/qutfcodec.o .obj/qendian.o .obj/qglobal.o .obj/qlogging.o .obj/qmalloc.o .obj/qnumeric.o .obj/qoperatingsystemversion.o .obj/qrandom.o .obj/qabstractfileengine.o .obj/qbuffer.o .obj/qdebug.o .obj/qdir.o .obj/qdiriterator.o .obj/qfile.o .obj/qfileinfo.o .obj/qfilesystementry.o .obj/qfilesystemengine.o .obj/qfsfileengine.o .obj/qfsfileengine_iterator.o .obj/qiodevice.o .obj/qipaddress.o .obj/qfiledevice.o .obj/qresource.o .obj/qtemporarydir.o .obj/qtemporaryfile.o .obj/qsavefile.o .obj/qstandardpaths.o .obj/qloggingcategory.o .obj/qloggingregistry.o .obj/qurl.o .obj/qurlidna.o .obj/qurlquery.o .obj/qurlrecode.o .obj/qcoreapplication.o .obj/qcoreglobaldata.o .obj/qmetatype.o .obj/qvariant.o .obj/qsystemerror.o .obj/qsharedmemory.o .obj/qsystemsemaphore.o .obj/quuid.o .obj/qcborcommon.o .obj/qcborstreamwriter.o .obj/qcborvalue.o .obj/qdatastream.o .obj/qjsoncbor.o .obj/qjsondocument.o .obj/qjsonobject.o .obj/qjsonarray.o .obj/qjsonvalue.o .obj/qjsonparser.o .obj/qjsonwriter.o .obj/qtextstream.o .obj/qxmlutils.o .obj/qxmlstream.o .obj/qbytearray.o .obj/qbytearraylist.o .obj/qbytearraymatcher.o .obj/qlocale.o .obj/qlocale_tools.o .obj/qregexp.o .obj/qstring.o .obj/qstringbuilder.o .obj/qstring_compat.o .obj/qstringlist.o .obj/qstringview.o .obj/qvsnprintf.o .obj/qcalendar.o .obj/qdatetime.o .obj/qgregoriancalendar.o .obj/qromancalendar.o .obj/qarraydata.o .obj/qbitarray.o .obj/qcommandlineparser.o .obj/qcommandlineoption.o .obj/qcryptographichash.o .obj/qhash.o .obj/qlist.o .obj/qmap.o .obj/qringbuffer.o .obj/qpoint.o .obj/qrect.o .obj/qsize.o .obj/qline.o .obj/qversionnumber.o .obj/qdom.o .obj/qxml.o .obj/qcore_unix.o .obj/qsharedmemory_posix.o .obj/qsharedmemory_systemv.o .obj/qsharedmemory_unix.o .obj/qsystemsemaphore_posix.o .obj/qsystemsemaphore_systemv.o .obj/qsystemsemaphore_unix.o .obj/qfilesystemengine_unix.o .obj/qfilesystemiterator_unix.o .obj/qfsfileengine_unix.o .obj/qstandardpaths_unix.o .obj/adler32.o .obj/compress.o .obj/crc32.o .obj/deflate.o .obj/gzclose.o .obj/gzlib.o .obj/gzread.o .obj/gzwrite.o .obj/infback.o .obj/inffast.o .obj/inflate.o .obj/inftrees.o .obj/trees.o .obj/uncompr.o .obj/zutil.o
make[4]: Leaving directory '/ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9/qtbase/src/tools/bootstrap'
make[3]: Leaving directory '/ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9/qtbase/src'
make[2]: *** [Makefile:51: sub-src-make_first] Error 2
make[2]: Leaving directory '/ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9/qtbase'
make[1]: *** [Makefile:49: sub-qtbase-make_first] Error 2
make[1]: Leaving directory '/ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9'
make: *** [funcs.mk:297: /ci_container_base/depends/work/build/aarch64-linux-android/qt/5.15.13-dca21c092e9/./.stamp_built] Error 1
make: Leaving directory '/ci_container_base/depends'

@fanquake
Copy link
Member Author

Running Android CI task locally fails:

Isn't that already broken? #29360.

@hebasto
Copy link
Member

hebasto commented Mar 27, 2024

Running Android CI task locally fails:

Isn't that already broken? #29360.

It seems different, as here, the qt package fails to build.

@fanquake
Copy link
Member Author

fanquake commented Mar 27, 2024

It seems different, as here, the qt package fails to build.

Ok, however I don't really consider that a blocker, given you can't compile bitcoin-qt in any case. (also because it's a platform we don't ship releases for, have no CI coverage for, and has been broken for at least 2 months, and nobody has fixed it).

@hebasto
Copy link
Member

hebasto commented Mar 27, 2024

you can't compile bitcoin-qt in any case.

Right 😢

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK ac9879c.

Suggesting to amend another patch:

--- a/depends/patches/qt/memory_resource.patch
+++ b/depends/patches/qt/memory_resource.patch
@@ -17,7 +17,7 @@ and https://bugreports.qt.io/browse/QTBUG-114316
 
 --- a/qtbase/src/corelib/global/qcompilerdetection.h
 +++ b/qtbase/src/corelib/global/qcompilerdetection.h
-@@ -1050,16 +1050,22 @@
+@@ -1055,16 +1055,22 @@
  #   endif // !_HAS_CONSTEXPR
  #  endif // !__GLIBCXX__ && !_LIBCPP_VERSION
  # endif // Q_OS_QNX

I need to try and patch around Qts buildsystem to keep bitcoin#21778 moving
along (the issue being that even when you tell Qt to build using
Clang on Linux, it still calls out to GCC, breaking our ability to have
a macOS release build env that doesn't have a GCC toolchain installed,
and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS
release, and update the current patch set.
@fanquake fanquake force-pushed the depends_qt_5_15_13 branch from ac9879c to 430f319 Compare March 27, 2024 16:46
@fanquake
Copy link
Member Author

Suggesting to amend another patch:

Done.

Copy link
Contributor

@TheCharlatan TheCharlatan left a comment

Choose a reason for hiding this comment

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

Re-ACK 430f319

@DrahtBot DrahtBot requested a review from hebasto March 27, 2024 19:30
Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

re-ACK 430f319.

@fanquake fanquake merged commit 3d37ed4 into bitcoin:master Apr 1, 2024
@fanquake fanquake deleted the depends_qt_5_15_13 branch April 1, 2024 14:12
luke-jr pushed a commit to bitcoinknots/bitcoin that referenced this pull request Apr 24, 2024
I need to try and patch around Qts buildsystem to keep bitcoin#21778 moving
along (the issue being that even when you tell Qt to build using
Clang on Linux, it still calls out to GCC, breaking our ability to have
a macOS release build env that doesn't have a GCC toolchain installed,
and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS
release, and update the current patch set.

Github-Pull: bitcoin#29732
Rebased-From: 430f319
luke-jr pushed a commit to bitcoinknots/bitcoin that referenced this pull request Jun 13, 2024
I need to try and patch around Qts buildsystem to keep bitcoin#21778 moving
along (the issue being that even when you tell Qt to build using
Clang on Linux, it still calls out to GCC, breaking our ability to have
a macOS release build env that doesn't have a GCC toolchain installed,
and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS
release, and update the current patch set.

Github-Pull: bitcoin#29732
Rebased-From: 430f319
kwvg added a commit to kwvg/dash that referenced this pull request Nov 7, 2024
kwvg added a commit to kwvg/dash that referenced this pull request Nov 7, 2024
kwvg added a commit to kwvg/dash that referenced this pull request Nov 15, 2024
kwvg added a commit to kwvg/dash that referenced this pull request Nov 16, 2024
kwvg added a commit to kwvg/dash that referenced this pull request Nov 17, 2024
PastaPastaPasta added a commit to dashpay/dash that referenced this pull request Nov 17, 2024
, bitcoin#28622, bitcoin#28880, bitcoin#29185, bitcoin#29170, bitcoin#29233, bitcoin#29298, bitcoin#29598, bitcoin#29732, bitcoin#29890, bitcoin#29739, bitcoin#30074, bitcoin#30198, bitcoin#29072 (toolchain backports: part 2)

1506d9d merge bitcoin#29072: use `-no_exported_symbols` on macOS (Kittywhiskers Van Gogh)
9247960 merge bitcoin#30198: qt 5.15.14 and fix macOS build with Clang 18 (Kittywhiskers Van Gogh)
5585e7a merge bitcoin#30074: use ENV flags in get_arch (Kittywhiskers Van Gogh)
decd420 merge bitcoin#29739: swap cctools otool for llvm-objdump (Kittywhiskers Van Gogh)
0f8c420 merge bitcoin#29890: remove some tools when cross-compiling for macOS (Kittywhiskers Van Gogh)
936da1a merge bitcoin#29732: qt 5.15.13 (Kittywhiskers Van Gogh)
c294b47 revert: patch qt to make placeholders differ from actual text (Kittywhiskers Van Gogh)
af7090c merge bitcoin#29598: don't use -h with touch on OpenBSD (Kittywhiskers Van Gogh)
ebf8ff2 merge bitcoin#29298: patch libtool out of libnatpmp/miniupnpc (Kittywhiskers Van Gogh)
070b876 merge bitcoin#29233: depends move macOS C(XX) FLAGS out of C & CXX (Kittywhiskers Van Gogh)
d838481 revert dash#2398: Force fvisibility=hidden when compiling on macos (Kittywhiskers Van Gogh)
59a18f9 merge bitcoin#29170: add macho branch protection check (Kittywhiskers Van Gogh)
cb024d9 merge bitcoin#29185: remove `--enable-lto` (Kittywhiskers Van Gogh)
6d75a81 merge bitcoin#28880: switch to using LLVM 17.x for macOS builds (Kittywhiskers Van Gogh)
7b0a1f2 merge bitcoin#28622: use macOS 14 SDK (Xcode 15.0) (Kittywhiskers Van Gogh)
02eb735 merge bitcoin#24948: fix typo in permissions (Kittywhiskers Van Gogh)
2739107 merge bitcoin#24534: make gen-sdk deterministic (Kittywhiskers Van Gogh)
ab10bf9 merge bitcoin#24241: cleanup doc on need of Developer Account to obtain macOS SDK (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  * Dependent on #6384
  * Dependency for #6389
  * The Qt patch introduced in [dash#5596](#5596), `fix_qt_placeholders.patch`, was a portion of a suggested workaround for QTBUG-92199 ([source](https://bugreports.qt.io/browse/QTBUG-92199?focusedId=669719&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-669719)) but since then, a fix ([here](https://codereview.qt-project.org/c/qt/qtbase/+/434310)) has made its way to 5.15.12 and we are upgrading to 5.15.14 from 5.15.11.

    So we can safely remove this patch.

  ## 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
  - [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 1506d9d
  PastaPastaPasta:
    utACK 1506d9d

Tree-SHA512: df8e4ea0ce9e7b269d248518698f0566b5eca1a54cdfb53f5b213b90fb5177e5a5df44eaeb6f3fc014cd93351c9245736bb2fd52bc2af4ae274d8fa93e601b07
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Nov 29, 2024
Summary:
```
I need to try and patch around Qts buildsystem to keep #21778 moving
along (the issue being that even when you tell Qt to build using
Clang on Linux, it still calls out to GCC, breaking our ability to have
a macOS release build env that doesn't have a GCC toolchain installed,
and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS
release, and update the current patch set.
```

Backport of [[bitcoin/bitcoin#29732 | core#29732]].

Depends on D17247.

Test Plan: Run the guix builds

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17249
roqqit pushed a commit to doged-io/doged that referenced this pull request Dec 19, 2024
Summary:
```
I need to try and patch around Qts buildsystem to keep #21778 moving
along (the issue being that even when you tell Qt to build using
Clang on Linux, it still calls out to GCC, breaking our ability to have
a macOS release build env that doesn't have a GCC toolchain installed,
and thus no ld binary).

Before trying to patch Qt any further, update to the latest LTS
release, and update the current patch set.
```

Backport of [[bitcoin/bitcoin#29732 | core#29732]].

Depends on D17247.

Test Plan: Run the guix builds

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17249
@bitcoin bitcoin locked and limited conversation to collaborators Apr 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants