RFR: 8343698: Linux x86_64 lto build gives a lot of warnings and fails lto-wrapper: fatal error: make returned 2 exit status [v2]
Matthias Baesken
mbaesken at openjdk.org
Thu Nov 14 14:15:45 UTC 2024
On Thu, 14 Nov 2024 09:06:46 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> It was included because all JVM features have a related define (e.g. INCLUDE_JFR, INCLUDE_JVMCI) and I missed that one here.
>> Or is it already available and I just missed the define related to link-time-optimization ?
>> But in a way you are correct , currently the added define it not needed technically in this PR .
>> And we might think about the naming (INCLUDE_LINK_TIME_OPTIMIZATION vs. INCLUDE_LTO).
>
> I'd prefer a more meaningful name. LTO seems a little generic and opaque. If you know then you
> know, but if you don't then you are puzzled.
I renamed the define to INCLUDE_LINK_TIME_OPTIMIZATION.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22069#discussion_r1842289830
More information about the build-dev
mailing list