Skip to content

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

@hebasto

Description

@hebasto

On master (456c8d6):

$ echo $ANDROID_SDK 
/home/hebasto/Android/Sdk
$ 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
...
> 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'
...

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions