RFR: 8375241: Simplify --with-native-debug-symbols-level option implementation [v2]
Julian Waters
jwaters at openjdk.org
Mon Jan 19 10:22:34 UTC 2026
On Mon, 19 Jan 2026 08:45:08 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Actually, on second thought, reverting the last commit will pass -g2 when the flag is not passed to configure, are you fine with that?
>
> Not really, I would like to pass `-g` if level is not overridden. I.e. to dodge bugs if toolchain does not support `-g2` for some weird reason, or `2` is not the actual default for some other weird reason. In the original change, that was the intent: either pass `-g` or `-g<num>` if user provided us with the num.
Got it. I'll think through how to go about doing this and get back when I'm done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29214#discussion_r2704130447
More information about the build-dev
mailing list