From 87cf2d8365def924c121ab9c717b298e1d135d94 Mon Sep 17 00:00:00 2001 From: chegar Date: Thu, 5 Jun 2008 04:08:41 -0700 Subject: [PATCH] 6626677: Error: Unimplemented()/HPI sysMonitorExit is broken on linux Summary: Remove the definition of NEED_DL_LOCK on platforms with GLIBC Reviewed-by: dholmes, psoper --- src/solaris/hpi/src/linker_md.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/solaris/hpi/src/linker_md.c b/src/solaris/hpi/src/linker_md.c index a21a2a076..58b51145f 100644 --- a/src/solaris/hpi/src/linker_md.c +++ b/src/solaris/hpi/src/linker_md.c @@ -50,15 +50,6 @@ */ sys_mon_t _dl_lock; -/* - * glibc-2.0 libdl is not MT safe. If you are building with any glibc, - * chances are you might want to run the generated bits against glibc-2.0 - * libdl.so, so always use locking for any version of glibc. - */ -#ifdef __GLIBC__ - #define NEED_DL_LOCK -#endif - /* * Solaris green threads needs to lock around libdl.so. */ -- GitLab