RFR: 8315794: RISC-V: build fails with GCC 12.3
Erik Joelsson
erikj at openjdk.org
Mon Sep 18 22:32:43 UTC 2023
On Wed, 6 Sep 2023 15:30:40 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
>> The build failure happens when building on RISC-V with GCC 12.3. Is there a better way to address this than disabling the stringop-overflow warnings for the two files in question?
>
> Is there any merit to the warning? Generally when we disable warnings, we document in the bug why the warning is benign or incorrect in this case, or file a followup bug to address it properly.
> @erikj79 I know you two had concerns about disabling the warning for the entire files. Does this look reasonable?
If you disable it the warning with a pragma, I don't have any opinion as it doesn't affect the build.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15593#issuecomment-1724549277
More information about the build-dev
mailing list