feat(libc): pass __PICOLIBC_ERRNO_FUNCTION to picolibc builds

This commit is contained in:
Alexey Lapshin
2026-08-05 16:45:09 +07:00
parent 0c1e6bd965
commit 0c28bbe3f8
4 changed files with 13 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
-
re: "errno: TLS reference in ([^ ]+\\.a)\\([^)]*\\) mismatches non-TLS definition"
hint: "The library '{}' accessed errno as a TLS symbol, which is incompatible with CONFIG_LIBC_NEWLIB=y (errno via __errno()). Contact the library maintainer to rebuild it with the latest ESP-IDF, or pass -D__PICOLIBC_ERRNO_FUNCTION=__errno if the library is built outside ESP-IDF. Alternatively keep CONFIG_LIBC_PICOLIBC=y, which still provides the TLS errno symbol for older prebuilts."
match_to_output: True