ITADN

Echo fails to compile on 6.9.3 on Gentoo

#9Closedacjones8 创建于 2024-06-16
A
acjones8commented
Hello everyone! I was curious in giving the ECHO scheduler a try with the CachyOS kernel sources on Gentoo, but I can't get the kernel to compile. The ECHO patches apply cleanly, but during the build process, it fails with this error: ``` In file included from kernel/sched/bs.c:747: kernel/sched/balancer.h:627:17: warning: unused variable 'cfs_rq' [-Wunused-variable] 627 | struct cfs_rq *cfs_rq; | ^~~~~~ CC arch/x86/xen/suspend_pv.o kernel/sched/bs.c:880:30: error: incompatible function pointer types passing 'void (struct softirq_action *)' to parameter of type 'void (*)(void)' [-Wincompatible-function-pointer-types] 880 | open_softirq(SCHED_SOFTIRQ, run_rebalance_domains); | ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/interrupt.h:608:48: note: passing argument to parameter 'action' here 608 | extern void __init open_softirq(int nr, void (*action)(void)); | ^ 1 warning and 1 error generated. make[4]: *** [scripts/Makefile.build:244: kernel/sched/bs.o] Error 1 make[3]: *** [scripts/Makefile.build:485: kernel/sched] Error 2 make[2]: *** [scripts/Makefile.build:485: kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... ``` I noticed that it looked extremely similar to bug #5 , failing in the same file and almost in the same location, so I added the fix-periodic patch into the build as a custom user patch. I can confirm that fix-periodic applies cleanly and without any errors, but it doesn't resolve this problem. Please let me know if there's anything I can provide or do that would assist in fixing this issue.
关闭于 2025-03-21 2 条评论