]> git.99rst.org Git - openwrt-packages.git/commit
stress-ng: link libatomic instead of disabling atomics
authorAlexandru Ardelean <redacted>
Fri, 10 Jul 2026 06:24:21 +0000 (09:24 +0300)
committerAlexandru Ardelean <redacted>
Mon, 13 Jul 2026 11:24:42 +0000 (14:24 +0300)
commit199435708a6908d1bd4c464b309b5cbb3a3148e3
treed9002e1956a1c722410295f9ddecc85a086147f8
parent6f30dc2b4a8869cbd812384e90b745529761c3c2
stress-ng: link libatomic instead of disabling atomics

Drop 002-disable-atomics-mips-and-ppc.patch. It papered over link errors for
64-bit atomics on MIPS and PPC, which happen because stress-ng strips -latomic
whenever $(CC) matches "musl-gcc" -- as our cross toolchains do. Pass
LIB_ATOMIC=-latomic instead; libatomic is already in DEPENDS. Its stress-fractal
hunk was in any case dead since upstream 24c30b7fa narrowed the row counter back
to int32_t, which MIPS32 and PPC32 increment atomically inline.

Signed-off-by: Alexandru Ardelean <redacted>
utils/stress-ng/Makefile
utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch [deleted file]
git clone https://git.99rst.org/PROJECT