RFR: 8265666: Enable AIX build platform to make external debug symbols

Erik Joelsson erikj at openjdk.java.net
Wed Apr 28 15:16:53 UTC 2021


On Wed, 28 Apr 2021 14:41:26 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

> Signed-off-by: Andrew Leonard <anleonar at redhat.com>

make/common/NativeCompilation.gmk line 979:

> 977:         else ifeq ($(call isTargetOs, aix), true)
> 978:           $1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
> 979:           $1_CREATE_DEBUGINFO_CMDS := $(CP) $$($1_TARGET) $$($1_DEBUGINFO_FILES)

This looks like you are just copying the linked binary and calling it .debuginfo. Is the idea that the original binary then gets stripped and this is just saving the unstripped binary? I don't know how things are done in AIX, but this seems like a rather strange way of achieving external symbol information to me.

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

PR: https://git.openjdk.java.net/jdk/pull/3763



More information about the build-dev mailing list