From eed24b5ee002449a9fe83e221336142416e0b315 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Mon, 20 Jun 2022 15:34:32 +0200 Subject: [PATCH] .github/workflows/compilers.yml: annocheck: Fix gaps and notes test. This commit fixes on the annocheck gaps and notes tests on Ubuntu focal on CI. Added the gcc `-Wa,--generate-missing-build-notes=yes` flag. See the links below. * -Wa,option: . * --generate-missing-build-notes=yes: . --- .github/workflows/compilers.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index d30d9f70db..fd5f1e801e 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -80,16 +80,14 @@ jobs: - key: default_cc name: 'gcc-11 annocheck' # Minimal flags to pass the check. - value: 'gcc-11 -O2 -fcf-protection' + value: 'gcc-11 -O2 -fcf-protection -Wa,--generate-missing-build-notes=yes' container: gcc-11 env: append_configure: 'LDFLAGS=-Wl,-z,now' # FIXME: Drop skipping options # https://bugs.ruby-lang.org/issues/18061 # https://sourceware.org/annobin/annobin.html/Test-pie.html - # https://sourceware.org/annobin/annobin.html/Test-notes.html - # https://sourceware.org/annobin/annobin.html/Test-gaps.html - TEST_ANNOCHECK_OPTS: "--skip-pie --skip-notes --skip-gaps" + TEST_ANNOCHECK_OPTS: "--skip-pie" check: true - { key: default_cc, name: clang-15, value: clang-15, container: clang-15 } - { key: default_cc, name: clang-14, value: clang-14, container: clang-14 }