glibc has this variable (see https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html) which some C++ library functions recently started to use, so we need to define it.
Signed-off-by: Nadav Har'El <[email protected]> --- runtime.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime.cc b/runtime.cc index d5b471b4..3335552d 100644 --- a/runtime.cc +++ b/runtime.cc @@ -641,3 +641,6 @@ char *ctermid(char *s) *s = 0; return s; } + +// OSv is always multi-threaded. +char __libc_single_threaded = 0; -- 2.31.1 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/20210614062057.1998552-12-nyh%40scylladb.com.
