Skip to content

Commit 7acc55a

Browse files
committed
8369657: [AIX] TOC overflow in static-launcher build when building slowdebug after JDK-8352064
Backport-of: 4b85ba90671c0ac816a772584c3eeb30ef9062ba
1 parent 1f4134e commit 7acc55a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make/StaticLibs.gmk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ else ifeq ($(call isTargetOs, aix), true)
116116
$(eval STATIC_LIB_EXPORT_FILES += $(lib).exp) \
117117
)
118118
STATIC_LIBS := -Wl,-bexpfull $(STATIC_LIB_FILES) $(addprefix -Wl$(COMMA)-bE:, $(STATIC_LIB_EXPORT_FILES))
119+
ifeq ($(DEBUG_LEVEL), slowdebug)
120+
STATIC_LIBS += -Wl,-bbigtoc
121+
endif
119122
else
120123
$(error Unsupported platform)
121124
endif

0 commit comments

Comments
 (0)