فهرست منبع

btf: ungate resolve_btfids linker-flag fix for all android12-5.10

Drop the sublevel>43 gate from the 0002 patch step. On sublevel-43 trees
resolve_btfids links with 'clang $(LDFLAGS)' where LDFLAGS is undefined, so
clang falls back to default 'ld' which is absent in the pure-LLVM/Neutron
toolchain ('Executable "ld" doesn't exist'). Patch 0002 sets
LDFLAGS := $(KBUILD_HOSTLDFLAGS), which carries -fuse-ld=lld from the build
env (build/_setup_env.sh exports HOSTLDFLAGS, top Makefile exports
KBUILD_HOSTLDFLAGS), making clang link with ld.lld.
TheWildJames 1 ماه پیش
والد
کامیت
66c11020e4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .github/actions/btf/action.yml

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

@@ -25,7 +25,7 @@ runs:
     - name: Apply resolve_btfids linker-flag fix (android12-5.10)
       shell: bash
       working-directory: ${{ github.workspace }}/kernel/common
-      if: ${{ inputs.version == 'android12-5.10' && (inputs.sublevel == 'X' || fromJSON(inputs.sublevel) > 43) }}
+      if: ${{ inputs.version == 'android12-5.10' }}
       run: |
         set -euo pipefail
         patch -p1 -N < ${{ github.action_path }}/patches/0002-resolve_btfids-inherit-host-linker-flags.patch