RFR: 8352064: AIX: now also able to build static-jdk image with a statically linked launcher

Joachim Kern jkern at openjdk.org
Tue Mar 18 10:47:07 UTC 2025


On Mon, 17 Mar 2025 15:01:10 GMT, Joachim Kern <jkern at openjdk.org> wrote:

>> Looks like this variable is misspelled (missing "S").
>> 
>> DEPS := $(STATIC_LIB_FILE), \
>> 
>> Also note that by default log level INFO is not printed. You would need to run the build with `make LOG=info` to see the message.
>
> Ups, thank you for giving me the 'S'. But nevertheless if I make with
> `make all LOG=info` an `$(info generate_export_list: $(generate_export_list))` still shows an empty list

I did not get the SetupExecute function, even if I strip it down to a simple example

$(eval $(call SetupExecute, generate_export_list, \
    INFO := Generating export list for static libs, \
    DEPS := /path/libjli.a, \
    OUTPUT_FILE := /path/libjli.a.exp, \
    COMMAND := $(AR) $(ARFLAGS) -w $$(patsubst %.exp, %, $$@) | $(GREP) -v '^.' | $(AWK) '{print $$$$1}' | $(SORT) -u >$$@, \
))

$(java): $(STATIC_LIB_FILES) /path/libjli.a.exp

I still get
`gmake[3]: *** No rule to make target '/path/libjli.a.exp', needed by '/path2/java'.  Stop.
`
Why does make not recognize, that the rule is in my
 `call SetupExecute, generate_export_list,`
macro?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24062#discussion_r2000736109


More information about the core-libs-dev mailing list