# HG changeset patch # User zhaixiang # Date 1535535120 -28800 # Node ID 80768a44078a6300fe13c3c7b5c43e9543111d02 # Parent 58828a330030e8c50997a3dcca47055b7ea18c5c #7406 [C1] Fix fatal error: Thread holding lock at safepoint that vm can block on: tty_lock issue Summary: Only for mips64 linking with -Wl,-z,noexecstack flag Reviewed-by: aoqi diff -r 58828a330030 -r 80768a44078a src/share/tools/hsdis/Makefile --- a/src/share/tools/hsdis/Makefile Wed Aug 29 16:59:32 2018 +0800 +++ b/src/share/tools/hsdis/Makefile Wed Aug 29 17:32:00 2018 +0800 @@ -94,7 +94,9 @@ endif CFLAGS += -O DLDFLAGS += -shared +ifeq ($(ARCH), mips64) DLDFLAGS += -Wl,-z,noexecstack +endif LDFLAGS += -ldl OUTFLAGS += -o $@ else