Monday, December 14, 2020

Project C v5.10-r0 release

Project C v5.10-r0 is released.

7 comments:

  1. Hi Alfred,

    have here problems with compiling kernel 5.10 and 5.10.1 with the full patch 5.10-r0.
    Error message:
    *****
    kernel/sched/bmq_imp.h:65:19: Fehler: Statische Deklaration von »task_running_nice« folgt nicht-statischer Deklaration
    65 | static inline int task_running_nice(struct task_struct *p)
    | ^~~~~~~~~~~~~~~~~
    In Datei, eingebunden von kernel/sched/sched.h:6,
    von kernel/sched/alt_core.c:18:
    kernel/sched/alt_sched.h:376:12: Anmerkung: Vorherige Deklaration von »task_running_nice« war hier
    376 | extern int task_running_nice(struct task_struct *p);
    *****

    Hope that helps.

    Regards Mike

    ReplyDelete
  2. This worked for me too:
    https://gitlab.com/alfredchen/linux-prjc/-/issues/19

    ReplyDelete
  3. Just an fyi for the next update, there's a warning on my x86 UP build (not sure if x64 had it):
    ------------------
    In file included from kernel/sched/alt_core.c:129:
    kernel/sched/bmq_imp.h:188:13: warning: ‘sched_task_ttwu’ defined but not used [-Wunused-function]
    188 | static void sched_task_ttwu(struct task_struct *p)

    ReplyDelete
  4. Hi, Trying to build on 5.10.2 with CONFIG_SCHED_BMQ=y. Here is the error:

    kernel/sched/alt_core.c: In function 'sched_init':
    kernel/sched/alt_core.c:5979:2: error: implicit declaration of function 'sched_selftest' [-Werror=implicit-function-declaration]
    5979 | sched_selftest();
    | ^~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:279: kernel/sched/alt_core.o] Error 1
    make[1]: *** [scripts/Makefile.build:496: kernel/sched] Error 2
    make: *** [Makefile:1813: kernel] Error 2

    ReplyDelete
    Replies
    1. I don't think sched_selftest() is exiest in any official release patch files, would you double check where you got your patch?

      Delete
    2. Sorry, just found the patchset I used include some commits from develop branch, see https://gitlab.com/alfredchen/linux-prjc/-/issues/14

      Delete