Skip to content

Conversation

@ospfranco
Copy link

Android now requires 16kb memory pages. Users cannot submit app updates until all libraries and binaries have been updated.

This in theory should enable 16kbs memory pages support but I'm not 100% familiar with the build process of sqlite-vec. It would also be important to get it out ASAP so I can update op-sqlite

@dukedorje
Copy link

I am running across this - I can't release to Android Play Store with vector search using sqlite-vec

vlasky added a commit to vlasky/sqlite-vec that referenced this pull request Dec 29, 2025
This supports upstream PR asg017#254 which needs to pass
-Wl,-z,max-page-size=16384 for Android 16KB page support. Using
LDFLAGS instead of CFLAGS prevents linker flags from leaking into
compile-only steps, which could cause warnings or errors with
stricter toolchains.

Adds EXT_LDFLAGS variable to the loadable and cli targets, enabling
users to pass linker-specific flags separately from compiler flags.

Co-Authored-By: Oscar Franco <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
@vlasky
Copy link

vlasky commented Dec 29, 2025

@dukedorje I've made a small tweak to your PR and incorporated it into version v0.2.3-alpha of my fork.

@ospfranco
Copy link
Author

@vlasky thanks for that PR. I'm still learning the ins and outs of C compilation and makefiles and today I learned why use LDFLAGS instead of CFLAGS :)

I've updated the PR accordingly mimicking your changes

@coolRoger
Copy link

seems the commit is not merged yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants