RFR: 8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt

Christoph Langer clanger at openjdk.org
Thu Sep 14 15:52:43 UTC 2023


On Thu, 14 Sep 2023 14:07:20 GMT, Adam Farley <afarley at openjdk.org> wrote:

> While building openjdk on aix, we see this build-fail error:
> 
> The fopen system call failed on file
> -f/home/.....etce4tcetc...../_BUILD_LIBJDWP_objectfilenames.txt
> 
> This change expands the fix for the similar issue on macosx, and prevents the fopen issue on aix.

make/common/NativeCompilation.gmk line 1172:

> 1170:       ifeq ($(call isTargetOs, macosx), true)
> 1171:         $1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
> 1172:       else ifeq ($(call isTargetOs, aix), true)

you could spare the `else ifeq` branch but rather use `ifeq ($(call isTargetOs, macosx aix), true)`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15743#discussion_r1326166382


More information about the build-dev mailing list