Integrated: 8335283: Build failure due to 'no_sanitize' attribute directive ignored

Matthias Baesken mbaesken at openjdk.org
Mon Jul 1 06:39:30 UTC 2024


On Fri, 28 Jun 2024 11:04:16 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The following build error has been reported with old gcc used 
> installers/linux/universal/tar/corretto-build/buildRoot/src/hotspot/share/utilities/vmError.cpp:2068:44: error: 'no_sanitize' attribute directive ignored [-Werror=attributes]
>  static void ALWAYSINLINE crash_with_sigfpe() {
> 
> We can avoid it by not settings the mentioned attribute in case ubsan is not enabled.

This pull request has now been integrated.

Changeset: 53242cdf
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/53242cdf9ef17c502ebd541e84370e7c158639c1
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8335283: Build failure due to 'no_sanitize' attribute directive ignored

Reviewed-by: shade, tschatzl, kbarrett, jwaters

-------------

PR: https://git.openjdk.org/jdk/pull/19937


More information about the hotspot-dev mailing list