RFR: 8343698: Linux x86_64 lto build gives a lot of warnings and fails lto-wrapper: fatal error: make returned 2 exit status
Julian Waters
jwaters at openjdk.org
Thu Nov 14 09:24:26 UTC 2024
On Thu, 14 Nov 2024 09:08:00 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Hmmm ... I thought we had LTO enabled in the past for Java SE Embedded ...
>
>> And not under the rubric of a warnings fix.
>
> Maybe the title is a bit misleading, it is more about a build fix (lto build did not work for me with gcc 11.3.0; with this fix it works).
> If the lot stuff is broken and there is no intent to fix it, we might consider removing it (but fixing it would probably be better).
I would hope that LTO won't be removed. I plan to try making it viable, and I also use it downstream on Windows. I'm having trouble downgrading my gcc package on WSL to reproduce the warning, so might take me some time to find a better fix
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22069#discussion_r1841842963
More information about the build-dev
mailing list