Przeglądaj źródła

btf: ungate pahole rebuild step for all android12-5.10

Drop the sublevel>43 gate from the pahole >=1.26 step. On sublevel-43
(5.10.43) trees the prebuilt pahole v1.19 fails to recode the DWARF and
spews 'tag__recode_dwarf_type: couldn't find ...' / ftype__ /
lexblock__recode_dwarf_types errors, dropping types, then gen_btf aborts
with 'Failed to generate BTF for vmlinux'. This step builds pahole 1.31
from source (correctly recodes 5.10.43 DWARF) and wraps the hermetic pahole
to add --skip_encoding_btf_enum64/decl_tag/type_tag for the old in-tree
libbpf (kinds 1-15 only).
TheWildJames 1 miesiąc temu
rodzic
commit
2cd951072e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/actions/btf/action.yml

+ 1 - 1
.github/actions/btf/action.yml

@@ -88,7 +88,7 @@ runs:
     - name: Build and use pahole >=1.26 for hermetic BTF generation (android12-5.10)
       shell: bash
       working-directory: ${{ github.workspace }}/kernel
-      if: ${{ inputs.version == 'android12-5.10' && (inputs.sublevel == 'X' || fromJSON(inputs.sublevel) > 43) }}
+      if: ${{ inputs.version == 'android12-5.10' }}
       run: |
         set -euo pipefail
         # android12-5.10 pins prebuilt pahole v1.19, which fails to recode the