8369657: [AIX] TOC overflow in static-launcher build when building slowdebug after JDK-8352064

Reviewed-by: mdoerr, erikj, clanger, mbaesken
This commit is contained in:
Joachim Kern 2025-10-14 14:04:36 +00:00
parent 72663695da
commit 4b85ba9067

View File

@ -116,6 +116,9 @@ else ifeq ($(call isTargetOs, aix), true)
$(eval STATIC_LIB_EXPORT_FILES += $(lib).exp) \
)
STATIC_LIBS := -Wl,-bexpfull $(STATIC_LIB_FILES) $(addprefix -Wl$(COMMA)-bE:, $(STATIC_LIB_EXPORT_FILES))
ifeq ($(DEBUG_LEVEL), slowdebug)
STATIC_LIBS += -Wl,-bbigtoc
endif
else
$(error Unsupported platform)
endif