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

Problems: test failures on PPC and GNU/hurd #3367

Merged
merged 4 commits into from
Jan 20, 2019

Conversation

bluca
Copy link
Member

@bluca bluca commented Jan 19, 2019

Solutions: fix posix_memalign detection, improve cache alignment for yqueue, prefer CXX11 atomics to compiler intrinsics, add wildcard test to XFAIL

Solution: detect cacheline size for aligment purposes at build time
instead of hard-coding it, so that PPC and S390 can align to a value
greater than the 64 bytes default.
Uses libc getconf program, and falls back to the previous value of 64
if not found.
Solution: import macro from autoconf-archive that works better
than AC_CHECK_FUNCS
Solution: prefer CXX11 atomics if they are available to compiler
intrinsics.
test_hwm_pubsub fails 50% of the times on PPC64 and RISC-V with an
apparent memory corruption of messages sent by the application thread
to the I/O thread when using compiler intrinsics.
Switching to CXX11 atomics makes the test reliable again. The
standard API should be preferred anyway, if available.
Solution: mark it as XFAIL like the other tests that use ipc://*
@c-rack c-rack merged commit 3291556 into zeromq:master Jan 20, 2019
@bluca bluca deleted the alignment_cache_size branch January 20, 2019 09:50
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.

None yet

2 participants