Skip to content

Conversation

@tianon
Copy link
Member

@tianon tianon commented Apr 1, 2025

This fixes our test failures on Debian-based arm32v7, and fixes most of our test failures on Alpine-based arm32v{6,7}, leaving the notable t/restart.t which we've had issues with prior (memcached/memcached#799).

See also memcached/memcached#1220 (comment) (and surrounding chatter).

@tianon
Copy link
Member Author

tianon commented Apr 1, 2025

Hmm, as-written this will technically hit arm32v5 too, which doesn't need it. 🤔

@tianon tianon force-pushed the arm32-alignment branch from a3a7f16 to 5e5608a Compare April 1, 2025 21:47
This fixes our test failures on Debian-based arm32v7, and fixes *most* of our test failures on Alpine-based arm32v{6,7}, leaving the notable `t/restart.t` which we've had issues with prior.
@tianon tianon force-pushed the arm32-alignment branch from 5e5608a to 1336cbc Compare April 1, 2025 21:50
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
# https://github.com/memcached/memcached/issues/1220#issuecomment-2770251664: on arm32, we need to override the upstream alignment check (which fails to detect the need for alignment on arm32v6+ on our hardware for some reason, which then causes us to fail the tests 😭)
case "$gnuArch" in \
arm-*abihf) export ac_cv_c_alignment=need ;; \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two values we need to capture here are arm-linux-gnueabihf and arm-linux-musleabihf (vs arm-linux-gnueabi which we not want to match).

@yosifkit yosifkit merged commit d6fbe6b into docker-library:master Apr 1, 2025
6 checks passed
@yosifkit yosifkit deleted the arm32-alignment branch April 1, 2025 23:25
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Apr 1, 2025
Changes:

- docker-library/memcached@f8aa037: Merge pull request docker-library/memcached#104 from infosiftr/backport-extstore-test-fixes
- docker-library/memcached@d6fbe6b: Merge pull request docker-library/memcached#103 from infosiftr/arm32-alignment
- docker-library/memcached@f3f961a: Backport upstream extstore test improvements
- docker-library/memcached@1336cbc: Force alignment on arm32
- docker-library/memcached@9152f80: Add back arm32v6+v7 so we can try them again
gquintard pushed a commit to gquintard/official-images that referenced this pull request Jun 11, 2025
Changes:

- docker-library/memcached@f8aa037: Merge pull request docker-library/memcached#104 from infosiftr/backport-extstore-test-fixes
- docker-library/memcached@d6fbe6b: Merge pull request docker-library/memcached#103 from infosiftr/arm32-alignment
- docker-library/memcached@f3f961a: Backport upstream extstore test improvements
- docker-library/memcached@1336cbc: Force alignment on arm32
- docker-library/memcached@9152f80: Add back arm32v6+v7 so we can try them again
tglman pushed a commit to tglman/official-images that referenced this pull request Aug 11, 2025
Changes:

- docker-library/memcached@f8aa037: Merge pull request docker-library/memcached#104 from infosiftr/backport-extstore-test-fixes
- docker-library/memcached@d6fbe6b: Merge pull request docker-library/memcached#103 from infosiftr/arm32-alignment
- docker-library/memcached@f3f961a: Backport upstream extstore test improvements
- docker-library/memcached@1336cbc: Force alignment on arm32
- docker-library/memcached@9152f80: Add back arm32v6+v7 so we can try them again
gquintard pushed a commit to gquintard/official-images that referenced this pull request Aug 15, 2025
Changes:

- docker-library/memcached@f8aa037: Merge pull request docker-library/memcached#104 from infosiftr/backport-extstore-test-fixes
- docker-library/memcached@d6fbe6b: Merge pull request docker-library/memcached#103 from infosiftr/arm32-alignment
- docker-library/memcached@f3f961a: Backport upstream extstore test improvements
- docker-library/memcached@1336cbc: Force alignment on arm32
- docker-library/memcached@9152f80: Add back arm32v6+v7 so we can try them again
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.

2 participants