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

Test fails on Android arm64-v8a #176

Open
hutorny opened this issue Jan 14, 2024 · 0 comments
Open

Test fails on Android arm64-v8a #176

hutorny opened this issue Jan 14, 2024 · 0 comments

Comments

@hutorny
Copy link

hutorny commented Jan 14, 2024

The tests are build on main branch with the latest NDK
When run on Android prints three errors

FATAL ERROR: REQUIRE( detail::is_aligned(ptr, def_alignment) ) is NOT correct!

The test log and a dockerfile to build the library and test for Android are attached in the zip file
foonathan_memory_test.zip

The following script can be used to build and reproduce the issue:

sudo apt-get install docker-buildx
docker buildx build -t foonathan_memory -f foonathan_memory.dockerfile .
mkdir -p -m 777 output/android-21/arm64-v8a && docker run -v $(pwd)/output:/output foonathan_memory bash -c 'cp foonathan_memory/build/android-21/arm64-v8a/test/foonathan_memory_test /output/android-21/arm64-v8a'
adb push /output/android-21/arm64-v8a/foonathan_memory_test /data/local/tmp/
adb shell /data/local/tmp/foonathan_memory_test 
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

No branches or pull requests

1 participant