Issue Details (XML | Word | Printable)

Key: CORE-6305
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Android port build failure

Created: 15/May/20 03:02 PM   Updated: 17/May/20 09:07 AM
Component/s: Build Issues / Porting
Affects Version/s: 4.0 Beta 2
Fix Version/s: 4.0 RC 1

Environment: android-ndk-r10

QA Status: Cannot be tested


 Description  « Hide
After fb4beta1 two C++ libraries (ttmath & RE2) were added to firebird code base. Building them with NDK used earlier fails for a number of reasons, specially problematic is use of STL.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 15/May/20 03:14 PM - edited
Obvious solution is NDK upgrade. That was done - but caused a need to tune flags needed for a build (difference with linux became much smaller). Also added build of static RE2 library for android.

As a side effect of changed NDK required minimum version of Android has grown - we need at least Android 7 now. Such big growth took place due to a bug in previous API versions that made standard C-library functions fgetpos/fsetpos be reported as missing at compile time with obvious compilation error.

Beta2 packages for android were built with applied fix for this issue using NDK21b.