From d6bc0c712a498815fe35acc9458ddd5f3a6056df Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Sun, 9 Jun 2024 14:32:31 +0100 Subject: [PATCH] Disable ASLR for more tests. (#5165) These show spurious errors with some toolchains due to an address sanitizer bug. --- test_regress/t/t_class_member_sens.pl | 1 + test_regress/t/t_flag_runtime_debug.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/test_regress/t/t_class_member_sens.pl b/test_regress/t/t_class_member_sens.pl index cff05f43a..3aa893e2f 100755 --- a/test_regress/t/t_class_member_sens.pl +++ b/test_regress/t/t_class_member_sens.pl @@ -16,6 +16,7 @@ compile( execute( check_finished => 1, + aslr_off => 1, # Some GCC versions hit an address-sanitizer bug otherwise ); ok(1); diff --git a/test_regress/t/t_flag_runtime_debug.pl b/test_regress/t/t_flag_runtime_debug.pl index 56b905656..7e26eb589 100755 --- a/test_regress/t/t_flag_runtime_debug.pl +++ b/test_regress/t/t_flag_runtime_debug.pl @@ -18,6 +18,7 @@ compile( execute( check_finished => 1, + aslr_off => 1, # Some GCC versions hit an address-sanitizer bug otherwise ); file_grep("$Self->{obj_dir}/$Self->{vm_prefix}.mk", qr/VL_DEBUG=1/);