fix: regression segfault on linux 3.4 on mipsle

This commit is contained in:
wwqgtxx
2026-03-05 08:51:17 +08:00
parent 4399d88ebe
commit df1a244de7
2 changed files with 43 additions and 0 deletions

View File

@@ -179,6 +179,13 @@ jobs:
tar zxf go1.26.0.linux-amd64-abi1.tar.gz -C $HOME/usr/local
echo "$HOME/usr/local/go/bin" >> $GITHUB_PATH
# TODO: remove after CL747663 merged, see: https://github.com/golang/go/issues/77731
- name: Apply CL747663 for Golang1.26
if: ${{ matrix.jobs.goversion == '' }}
run: |
cd $(go env GOROOT)
patch --verbose -p 1 < $GITHUB_WORKSPACE/.github/patch/cl747663.patch
# this patch file only works on golang1.26.x
# that means after golang1.27 release it must be changed
# see: https://github.com/MetaCubeX/go/commits/release-branch.go1.26/