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
Expose -DBUILD_WITHOUT_64BIT_OFFSET #5941
Conversation
to allow building for 32bit Android.
a25f6d4
to
551b67b
Compare
As far as I can see from https://github.com/OSGeo/gdal/runs/6955472239?check_suite_focus=true which is the autoconf Android build of https://github.com/OSGeo/gdal/blob/master/.github/workflows/android/start.sh , 64-bit I/O is correctly supported and this is a 32 bit build
So I assume that there's something missing in the CMake detection logic (our CMake Android build https://github.com/OSGeo/gdal/blob/master/.github/workflows/android_cmake/start.sh is a 64-bit one) |
That's what I got here (x86-android)
|
For reference with the same environment this also had to be disabled with autoconf. |
Perhaps related to https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md : "Android does not require the _LARGEFILE_SOURCE macro to be used to make fseeko and ftello available. Instead they're always available from API level 24 where they were introduced, and never available before then." . Can you bump API level to 24 ? |
Thanks for the insights. |
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
ok, makes sense. |
to allow building for 32bit Android.
to allow building for 32bit Android