From 986cbe4881609f46897915e75a1e58971a814d84 Mon Sep 17 00:00:00 2001 From: Jin Qian Date: Mon, 2 Nov 2020 16:15:14 -0800 Subject: [PATCH] Disable JEMALLOC_TLS for QNX TLS access triggers recurisive malloc during bootstrapping. Need to use pthread_getspecific and pthread_setspecific with a follow up fix. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 8284e87a..468c0258 100644 --- a/configure.ac +++ b/configure.ac @@ -765,6 +765,10 @@ case "${host}" in default_retain="1" fi ;; + *-*-nto-qnx) + abi="elf" + force_tls="0" + ;; *) AC_MSG_RESULT([Unsupported operating system: ${host}]) abi="elf"