From 4af2cfe3cf4a34ab905f1fbef33f2391a715adcf Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Wed, 10 Feb 2021 20:43:18 +0300 Subject: [PATCH] bad_build_check: also look for call on x86_64 (#5159) It should make the script compatible with binutils-2.36.1 (where "callq" is no longer present in the output of objdump) It was spotted in https://github.com/systemd/systemd/pull/18528 --- infra/base-images/base-runner/bad_build_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-runner/bad_build_check b/infra/base-images/base-runner/bad_build_check index a57a48252..4990f86d9 100755 --- a/infra/base-images/base-runner/bad_build_check +++ b/infra/base-images/base-runner/bad_build_check @@ -312,7 +312,7 @@ function check_mixed_sanitizers { else case $(uname -m) in x86_64) - CALL_INSN="callq\s+[0-9a-f]+\s+<" + CALL_INSN="callq?\s+[0-9a-f]+\s+<" ;; aarch64) CALL_INSN="bl\s+[0-9a-f]+\s+<"