On Fri, Mar 13, 2026 at 02:51:06PM +0100, Toon Moene wrote:
the linaro CI reported test errors for aarch64 targets. I figured that for aarch64 on linux the compile flags -pthread and -lrt are needed to link caf_shmem and produce an executable. The attached patch addresses this by special case for aarch64-*-linux* similiar to freebsd.
Amazing - I have been testing caf_shmem for weeks now (first as an additional patch and lately just by bootstrapping the master branch) on aarch64-linux and I have never encountered that problem.
Here's the latest test:
https://gcc.gnu.org/pipermail/gcc-testresults/2026-March/871293.html
It is needed only for glibc older than 2.34. And it isn't arch related, just glibc version related.
Jakub