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

Erik Joelsson erikj at openjdk.java.net
Wed Apr 28 19:46:52 UTC 2021


On Wed, 28 Apr 2021 17:43:39 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

>> You're essentially correct Erik, on AIX there is no such tool as OBJCOPY on Linux platforms, so you cannot physically remove the symbolic information from the native compiled object. So this CREATE_DEBUG_INFO_CMDS copies the object containing symbols, prior to the STRIP_CMD being executed as part of the make of $$($1_TARGET) recipe:
>> 
>>                   $$($1_CREATE_DEBUGINFO_CMDS)
>>                   $$($1_STRIP_CMD)
>> 
>> The external debuginfo is then passed by the user of AIX dbx using -B <.debuginfo>
>> 
>> You make a good point though that this looks confusing, so I will update the PR with a comment to this rule.
>> thanks
>
> I've added a comment in the make file in the refresh

Thanks for the clarification and the comment!

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

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



More information about the build-dev mailing list