All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jona Ostermann <Jona.Ostermann@janztec.com>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Xenomai patch for kernel 4.19.94 i386
Date: Wed, 18 Nov 2020 21:32:22 +0000	[thread overview]
Message-ID: <FRXPR01MB0984F4AE4E3D8B778451D5FA8FE10@FRXPR01MB0984.DEUPRD01.PROD.OUTLOOK.DE> (raw)

Hello,

I am trying to build the linux kernel version 4.19.94 with xenomai 3.1 and the ipipe patch version 4.19.94-cip18-x86-10 on a debian 9 system.
I did not change anything in the kernel config except for disabling Hyper-V.
This works fine for the 64 bit kernel, but if I try to build a 32 bit kernel I get an error:

+ make -j 4
Makefile:590: include/config/auto.conf: No such file or directory
Makefile:621: include/config/auto.conf.cmd: No such file or directory
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig

WARNING: unmet direct dependencies detected for IPIPE
  Depends on [n]: HAVE_IPIPE_SUPPORT [=n]
  Selected by [y]:
  - XENOMAI [=y] && (X86_TSC [=y] || !X86 [=y])

WARNING: unmet direct dependencies detected for IPIPE
  Depends on [n]: HAVE_IPIPE_SUPPORT [=n]
  Selected by [y]:
  - XENOMAI [=y] && (X86_TSC [=y] || !X86 [=y])
  SYSTBL  arch/x86/include/generated/asm/syscalls_32.h
  WRAP    arch/x86/include/generated/uapi/asm/bpf_perf_event.h
[...]
  HOSTCC  scripts/asn1_compiler
  HOSTCC  scripts/extract-cert
  CC      kernel/bounds.s
  UPD     include/generated/timeconst.h
  UPD     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from ./arch/x86/include/asm/uaccess.h:10:0,
                 from ./include/linux/uaccess.h:14,
                 from ./include/linux/crypto.h:26,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/ipipe.h:223:28: error: field 'arch' has incomplete type
  struct ipipe_arch_sysinfo arch;
                            ^~~~
Kbuild:56: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
Makefile:1102: recipe for target 'prepare0' failed


This output is from a 32 bit system, I get the same error if I try to build on a 64 bit system with "make ARCH=i386".
I have also checked the kernel config HAVE_IPIPE_SUPPORT via "make menuconfig", it says:

Symbol: HAVE_IPIPE_SUPPORT [=n]
  x Type  : bool
  x   Defined at kernel/ipipe/Kconfig:2
  x   Depends on: GENERIC_CLOCKEVENTS [=y] 
  x   Selected by [n]: 
  x   - X86 [=y] && X86_64 [=n]


Does this mean I can only build a 64 bit kernel with version 4.19.94 as there is no ipipe support for 32 bit or am I misinterpreting the HAVE_IPIPE_SUPPORT warning?
What else could be the issue?


Best regards
Jona


             reply	other threads:[~2020-11-18 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 21:32 Jona Ostermann [this message]
2020-11-19  7:05 ` Xenomai patch for kernel 4.19.94 i386 Jan Kiszka
2020-11-19  8:07   ` AW: " Jona Ostermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FRXPR01MB0984F4AE4E3D8B778451D5FA8FE10@FRXPR01MB0984.DEUPRD01.PROD.OUTLOOK.DE \
    --to=jona.ostermann@janztec.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.