depends: qt build for HOST=aarch64-linux-android is broken for NDK 22+ #22074

issue hebasto openend this issue on May 26, 2021
  1. hebasto commented at 4:47 pm on May 26, 2021: member

    On master (456c8d6cd80fc3461957a3553a0483756396b988):

    0$ echo $ANDROID_SDK 
    1/home/hebasto/Android/Sdk
    2$ make -C depends qt_configured HOST=aarch64-linux-android ANDROID_API_LEVEL=28 ANDROID_NDK=$ANDROID_SDK/ndk/22.0.7026061 ANDROID_TOOLCHAIN_BIN=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin
    3...
    4> clang++: error: no such file or directory: '/home/hebasto/Android/Sdk/ndk/22.0.7026061/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++.so.28'
    5...
    

    I seems related to this change:

    The legacy libc++ linker scripts in <NDK>/sources/cxx-stl/llvm-libc++ have been removed. The linkers scripts in the toolchain should be used instead as described by the Build System Maintainers Guide.

  2. hebasto added the label Bug on May 26, 2021
  3. hebasto added the label Build system on May 26, 2021
  4. hebasto added the label Android on May 26, 2021
  5. hebasto commented at 4:48 pm on May 26, 2021: member
    cc @icota
  6. icota commented at 12:40 pm on May 28, 2021: contributor
    I think we should wait until r23 is released before taking any action. r21 is an LTS release and r22 is not
  7. hebasto commented at 5:35 pm on May 28, 2021: member

    I think we should wait until r23 is released before taking any action. r21 is an LTS release and r22 is not

    Fair enough.

    Closing for now.

  8. hebasto closed this on May 28, 2021

  9. hebasto commented at 11:52 pm on June 24, 2021: member
  10. fanquake commented at 11:53 am on June 30, 2021: member

    I think we should wait until r23 is released before taking any action. r21 is an LTS release and r22 is not

    I think if we’d like to keep supporting Android builds for 23.0, someone should look into making Qt and the Android build work with r22. I can’t imagine we are going to block migrating to std::filesystem based on our Qt version being too old, to support building against a new enough version of the Android NDK to support std::filesystem. I’d rather just drop the Android build until we’ve moved on to a newer version of Qt.

    I’d also assume that any of the Qt patching and build system changes that are going to be required will be very similar for r22 and r23 in any case (r23 support just being additional changes on top of r22 if any).

  11. icota commented at 8:13 am on July 4, 2021: contributor
    Makes sense. @hebasto reopen?
  12. hebasto reopened this on Jul 4, 2021

  13. fanquake closed this on Jul 21, 2021

  14. sidhujag referenced this in commit 3791bad84f on Jul 23, 2021
  15. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-01 10:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me