Hi Kirill, Kirill Makurin wrote,
I attached the config I am currently using. It enables most of library features, except for some glibc-compatibility and obsolete stuff.
I was doing native compilation on a Debian 12 system (gcc 12.2, binutils 2.40), but I was using Linux headers v6.14 for the build.
Compilation fails with the following diagnostic:
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:122:3: error: #error "not supported. %rcx and %rdi must be preserved" 122 | # error "not supported. %rcx and %rdi must be preserve | ^~~~~
As I have mentioned, including tls.h from this file seems to fix the issue.
Hmm, I can't reproduce the issue. Makefile.arch does set ASFLAGS. Did you override ASFLAGS somehow in your environment overwriting the default from uClibc-ng?
best regards Waldemar