DynamoRIO / DynamoRIO/dynamorio
'tools/run_in_bg.c:87: error: undefined reference to 'stderr'' with Android NDK 15b
Open
OpSys-Android
OpSys-ARM
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Building DyanmoRIO with the latest Android NDK (15b) fails with the following error
```
dynamorio/tools/run_in_bg.c:87: error: undefined reference to 'stderr'
dynamorio/tools/run_in_bg.c:157: error: undefined reference to 'stderr'
dynamorio/tools/run_in_bg.c:157: error: undefined reference to 'stdout'
```
Apparently the global variables for stderr and stdout have been removed from Bionic (https://stackoverflow.com/questions/39322852/android-ndk-undefined-reference-to-stderr)
Xref #1927, which describes another issue when building with recent NDK versions.
Contributor guide
Assessment
This issue has not been assessed yet.