RFR: 8351241: Require minimum gcc version 12
Erik Joelsson
erikj at openjdk.org
Wed Mar 5 14:15:51 UTC 2025
On Wed, 5 Mar 2025 07:54:51 GMT, SendaoYan <syan at openjdk.org> wrote:
> > > After [JDK-8345627](https://bugs.openjdk.org/browse/JDK-8345627), the minumum gcc version should be 12
> >
> >
> > Or JDK-8345627 change should only be enabled when gcc version is >= 12.
>
> JDK-8345627 has already check the gcc compiler support -ftrivial-auto-var-init=pattern or not by macro function FLAGS_COMPILER_CHECK_ARGUMENTS. If the gcc do not support -ftrivial-auto-var-init=pattern option, this option will not take effect during configure.
>
> So it's not a issue actually?
It shouldn't be, unless you have actually tried building the JDK with a lower version and it failed.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23913#issuecomment-2701065029
More information about the build-dev
mailing list