-
Notifications
You must be signed in to change notification settings - Fork 258
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
[BUG] ndk-stack broken in Android NDK r26 #1938
Comments
get the same problem for macOS |
Yes. It's broken on all OSs. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This was actually covered by a test, the test was just useless because it was really only testing a mock, which was of course out of date. https://android-review.googlesource.com/c/platform/ndk/+/2764068 fixes the bug, and removes the reliance on the mock so the test will actually catch a regression before it ships in the future. The fix in the OP was more or less correct, but it was actually |
Description
Problem finding llvm-analyzer. Seems that the change where the ndkstack.py has been moved in ndkstack.pyz is causing the problem. The function ndkstack.py:get_ndk_path() seems to return incorrect paths, because the pyz-format seem to add directory nesting.
Updating the path detection ndkstack.py with the diff below seems to fix the problem.
Affected versions
r26
Canary version
No response
Host OS
Linux
Host OS version
Debian 11
Affected ABIs
armeabi-v7a, arm64-v8a, x86, x86_64
Build system
ndk-build
Other build system
No response
minSdkVersion
any
Device API level
No response
The text was updated successfully, but these errors were encountered: