* Xenomai patch for kernel 4.19.94 i386
@ 2020-11-18 21:32 Jona Ostermann
2020-11-19 7:05 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Jona Ostermann @ 2020-11-18 21:32 UTC (permalink / raw)
To: xenomai
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xenomai patch for kernel 4.19.94 i386
2020-11-18 21:32 Xenomai patch for kernel 4.19.94 i386 Jona Ostermann
@ 2020-11-19 7:05 ` Jan Kiszka
2020-11-19 8:07 ` AW: " Jona Ostermann
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2020-11-19 7:05 UTC (permalink / raw)
To: Jona Ostermann, xenomai
On 18.11.20 22:32, Jona Ostermann via Xenomai wrote:
> 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?
>
We've stopped supporting i386 configurations for the kernel. Even
vanilla i386 receives minimal testing, for many years now. Everyone is
at least on a 64-bit kernel if not also userland, possibly with compat
support for 32-bit applications. In fact, the latter is what we are also
using in one product.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: Xenomai patch for kernel 4.19.94 i386
2020-11-19 7:05 ` Jan Kiszka
@ 2020-11-19 8:07 ` Jona Ostermann
0 siblings, 0 replies; 3+ messages in thread
From: Jona Ostermann @ 2020-11-19 8:07 UTC (permalink / raw)
To: Jan Kiszka, xenomai
Hello Jan,
I see, thanks for the quick response.
Best regards
Jona
-----Ursprüngliche Nachricht-----
Von: Jan Kiszka <jan.kiszka@siemens.com>
Gesendet: Donnerstag, 19. November 2020 08:06
An: Jona Ostermann <Jona.Ostermann@janztec.com>; xenomai@xenomai.org
Betreff: Re: Xenomai patch for kernel 4.19.94 i386
On 18.11.20 22:32, Jona Ostermann via Xenomai wrote:
> 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?
>
We've stopped supporting i386 configurations for the kernel. Even vanilla i386 receives minimal testing, for many years now. Everyone is at least on a 64-bit kernel if not also userland, possibly with compat support for 32-bit applications. In fact, the latter is what we are also using in one product.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-19 8:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 21:32 Xenomai patch for kernel 4.19.94 i386 Jona Ostermann
2020-11-19 7:05 ` Jan Kiszka
2020-11-19 8:07 ` AW: " Jona Ostermann
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.