Skip to content
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

Failed to build with thread-safe option set on Android #4987

Open
sheldonrobinson opened this issue Oct 20, 2024 · 1 comment
Open

Failed to build with thread-safe option set on Android #4987

sheldonrobinson opened this issue Oct 20, 2024 · 1 comment
Assignees
Labels
Component - Build CMake, Autotools Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - New Feature Add a new API call, functionality, or tool

Comments

@sheldonrobinson
Copy link

Enabling thread-safe build results in compile error.

ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Missing functions are pthread_cancel and pthread_setcancelstate

Platform

  • HDF5 version: develop
  • OS and version: Windows 11 Pro
  • Compiler and version: android-ndk-27c
  • Build system: CMake 3.30.5
  • Any configure options you specified:
    ONLY_SHARED_LIBS=ON
    HDF5_ENABLE_THREADSAFE=ON
    HDF5_BUILD_HL_LIB=ON
    HDF5_BUILD_CPP_LIB=ON ALLOW_UNSUPPORTED=ON
  • MPI library and version (parallel HDF5): OFF

Additional context
Add any other context about the problem here.

@sheldonrobinson
Copy link
Author

Fixed found in #4986

@bmribler bmribler added Component - Build CMake, Autotools Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - New Feature Add a new API call, functionality, or tool labels Oct 24, 2024
@derobins derobins self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - New Feature Add a new API call, functionality, or tool
Projects
None yet
Development

No branches or pull requests

3 participants