Wed, 29 Aug 2018 17:32:00 +0800
#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
src/share/tools/hsdis/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/tools/hsdis/Makefile Wed Aug 29 16:59:32 2018 +0800 1.2 +++ b/src/share/tools/hsdis/Makefile Wed Aug 29 17:32:00 2018 +0800 1.3 @@ -94,7 +94,9 @@ 1.4 endif 1.5 CFLAGS += -O 1.6 DLDFLAGS += -shared 1.7 +ifeq ($(ARCH), mips64) 1.8 DLDFLAGS += -Wl,-z,noexecstack 1.9 +endif 1.10 LDFLAGS += -ldl 1.11 OUTFLAGS += -o $@ 1.12 else