android / ndk

The Android Native Development Kit
2.01k stars 257 forks source link

[Bug]: NDK 27 crashes when building gdal #2070

Closed fornwall closed 1 month ago

fornwall commented 2 months ago

Description

See https://github.com/llvm/llvm-project/issues/67979 about a clang crash when building https://github.com/OSGeo/gdal - reproducible crash in NDK r27 (and r27b), works in NDK r26.

Upstream bug

https://github.com/llvm/llvm-project/issues/67979

Commit to cherry-pick

https://github.com/llvm/llvm-project/commit/5f4ee5a2dfa97fe32ee62d1d67aa1413d5a059e6

Affected versions

r27

Canary version

No response

Host OS

Linux

Host OS version

Ubuntu 22.04

Affected ABIs

arm64-v8a

pirama-arumuga-nainar commented 2 months ago

Thanks for the report. https://android-review.googlesource.com/c/toolchain/llvm_android/+/3260808 picks up the fix into r27.

DanAlbert commented 2 months ago

@pirama-arumuga-nainar already fixed in the r28 toolchain, or is a cherry-pick needed there too?

pirama-arumuga-nainar commented 2 months ago

r28 toolchain already has the fix.