Hi,
Damien Le Moal wrote,
On Tue, 2022-03-08 at 19:15 -0800, Max Filippov
wrote:
Hello,
I've noticed that with the uclibc-ng 1.0.39 the tests tst-cancel18 and
tst-cancelx18 are failing in NPTL-enabled configs (on xtensa).
Bisection pointed me to the commit
08d46f1ce21e ("librt: avoid compilation error")
which effectively turned off cancellation for clock_nanosleep.
Reverting it fixes the tests for me, and does not break uclibc-ng
build on nommu configs with or without threads support.
So I'm curious what was the original issue that mentioned commit
tried to solve (what arch/config)?
Compilation errors with riscv arch. The commit message describe the problem.
The fix though is clearly not perfect since it causes problems for you on
xtensa.
I tested now with the patch reverted and the compile succeeded.
There is indeed a warning thrown by gcc. Have you set -Werror to
your compiler cflags? Or can you sent your uclibc-ng.config to see
what is triggering the error?
BTW: When do you sent the new buildroot series? I was trying to
compile a system for sipeed-maixbit in OpenADK, but hush is always
segfaulting for me. I want to identify the differences to buldroot.
best regards
Waldemar