Closed zhangguanzhang closed 2 years ago
一样的错, 源文件里都没这段代码
@aiamadeus 帮忙看看咋回事
5.15内核的x86、RK都有这个问题
我也是遇到了这个问题 报错日志: Applying /data/lede/target/linux/generic/backport-5.15/702-v5.19-34-eth-mtk_ppe-fix-up-after-merge.patch using plaintext: patching file drivers/net/ethernet/mediatek/mtk_ppe_offload.c Hunk #1 FAILED at 90. 1 out of 1 hunk FAILED -- saving rejects to file drivers/net/ethernet/mediatek/mtk_ppe_offload.c.rej Patch failed! Please fix /data/lede/target/linux/generic/backport-5.15/702-v5.19-34-eth-mtk_ppe-fix-up-after-merge.patch! make[3]: [Makefile:121: /data/lede/build_dir/toolchain-x86_64_gcc-8.4.0_musl/linux-5.15.55/.prepared] Error 1 make[3]: Leaving directory '/data/lede/toolchain/kernel-headers' time: toolchain/kernel-headers/compile#9.46#6.99#12.19 ERROR: toolchain/kernel-headers failed to build. make[2]: [toolchain/Makefile:97: toolchain/kernel-headers/compile] Error 1 make[2]: Leaving directory '/data/lede' make[1]: [toolchain/Makefile:93: /data/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/stamp/.toolchain_compile] Error 2 make[1]: Leaving directory '/data/lede' make: [/data/lede/include/toplevel.mk:230: world] Error 2
内核: Linux openwrt 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux
make menuconfig 没有做任何配置
手动切换内核到5.18后,错误消失,编译正常
702-v5.19-34-eth-mtk_ppe-fix-up-after-merge.patch这个文件的问题
手动切换内核到5.18后,错误消失,编译正常
请问下在actions里编译怎么切换下到5.18?
pull 到最新代码,成功编译完成
跑了下,是正常的
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
2. 详细叙述
(1) 具体问题
A:
(2) 路由器型号和固件版本
A:
x86_64
,19.20 拉的源码(3) 详细日志
A: