All of lore.kernel.org
 help / color / mirror / Atom feed
* RE:[xenomai patch with kernel 5.4.77] Error building the kernel
@ 2020-11-30 10:49 Mohamed Irfanulla Mohamed Abdulla
  2020-11-30 11:00 ` [xenomai " florian.bezdeka
  0 siblings, 1 reply; 7+ messages in thread
From: Mohamed Irfanulla Mohamed Abdulla @ 2020-11-30 10:49 UTC (permalink / raw)
  To: xenomai

Hello,

I performed the installation of xenomai 3.1 with kernel 5.4.77 and
ipipe-core-5.4.77-x86-2.patch on a ubuntu 20.04 machine.

I encounter this error during the build.

  GEN     usr/initramfs_data.cpio
  AS      usr/initramfs_data.o
  AR      usr/built-in.a
  CC      kernel/cgroup/cgroup.o
arch/x86/xenomai/thread.c: In function ‘xnarch_leave_root’:
arch/x86/xenomai/thread.c:475:2: error: too many arguments to function
‘switch_fpu_finish’
  switch_fpu_finish(&current->thread.fpu, smp_processor_id());
  ^
In file included from arch/x86/xenomai/include/asm/xenomai/wrappers.h:44:0,
                 from include/xenomai/cobalt/kernel/timer.h:28,
                 from include/xenomai/cobalt/kernel/thread.h:27,
                 from arch/x86/xenomai/thread.c:25:
./arch/x86/include/asm/fpu/internal.h:594:20: note: declared here
 static inline void switch_fpu_finish(struct fpu *new_fpu)
                    ^
scripts/Makefile.build:265: recipe for target 'arch/x86/xenomai/thread.o'
failed
make[1]: *** [arch/x86/xenomai/thread.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC      kernel/cgroup/rstat.o
Makefile:1729: recipe for target 'arch/x86/xenomai' failed
make: *** [arch/x86/xenomai] Error 2
make: *** Waiting for unfinished jobs....
  CC      init/do_mounts_md.o
  CC      kernel/debug/kdb/kdb_io.o

Thank you for your suggestions on the config and fix.

Irfan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-07  8:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-30 10:49 RE:[xenomai patch with kernel 5.4.77] Error building the kernel Mohamed Irfanulla Mohamed Abdulla
2020-11-30 11:00 ` [xenomai " florian.bezdeka
     [not found]   ` <CADx0-8C7CW4i+O7g4zAGE0uXtD+bnNr4oR8HF-_tNArpteSDmQ@mail.gmail.com>
2020-11-30 12:41     ` florian.bezdeka
2020-11-30 13:27       ` Jan Kiszka
2020-12-04 15:13         ` Mohamed Irfanulla Mohamed Abdulla
2020-12-07  6:52           ` Jan Kiszka
2020-12-07  8:16             ` Fino Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.