ndk icon indicating copy to clipboard operation
ndk copied to clipboard

The Android Native Development Kit

Results 133 ndk issues
Sort by recently updated
recently updated
newest added
trafficstars

It looks like this was probably fixed in kitkat with https://android-review.googlesource.com/c/platform/bionic/+/52650 (that's when the test was added). The bug is definitely present on Jelly Bean. This causes `std::filesystem::canonical` to incorrectly...

bug

> This can't generate right ldflags in the final `build.ninja`: > ``` > #CMakeLists.txt > set_target_properties( > libkmalloc_scudo > PROPERTIES LINK_FLAGS -Wl,-plugin-opt=-emulated-tls=0 > ) > ``` > > But according...

bug

https://medium.com/androiddevelopers/pgo-for-native-android-applications-1a48a99e95d0 has the instructions but parts of it are unclear. https://source.android.com/devices/tech/perf/pgo is incomplete w.r.t. native apps. We should create a separate doc under https://developer.android.com/ndk/guides that we can target to apps...

docs

#### Description Hi, I'm trying to improve support for mouse input in my NDK-based apps by handling ACTION_BUTTON_PRESS & ACTION_BUTTON_RELEASE events. I found their NDK definitions in input.h but there...

enhancement
c++ wrapper request

when i saw https://github.com/strace/strace/pull/204 i assumed it was someone using a really old NDK, but, no even today looks like this: ``` /** Flag for open(). */ #define O_ASYNC FASYNC...

bug

-------------------------------------------------------------------------------- #### Description Gcov tool doesn't create .gcda files in the device, when using Ndk r23. It's working with Ndk r21d when running the same. .Gcno files are generated on...

docs

I think the problems with `.if` results from Clang's incomplete `.altmacro` support. [pixman-arm-simd-asm.S uses .altmacro](https://gitlab.freedesktop.org/pixman/pixman/-/blob/aaf59b0338fbd4b9142794254261f8d0a018b60c/pixman/pixman-arm-simd-asm.S#L37). Here's the non-altmacro behavior: ``` $ cat >test.S

enhancement

https://github.com/android-ndk/ndk/issues/693#issuecomment-390815633 > The longer term fix is to teach Clang to automatically realign the stack for Android < 24, x86, and when the function is a constructor. With that change...

enhancement
clang

#### Description Clang toolchain is not able to link code compiled with `-fxray-instrument`, for any ABI. Linker fails with next messages: ``` /home/serg/tools/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open /home/serg/tools/android-ndk-r14b/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib64/clang/3.8.275480/lib/linux/libclang_rt.xray-arm-android.a: No such file...

enhancement
clang

We saw a bug like this recently and fixed it (https://android-review.googlesource.com/c/platform/ndk/+/1894539/), but it's broken again. This issue affects the legacy CMake toolchain file when using CMake 3.22.1 (presumably 3.19 and...

bug