All of lore.kernel.org
 help / color / mirror / Atom feed
* problem compiling EVL kernel with CONFIG_X86_UV set
@ 2021-09-22 18:30 Andrew Tannenbaum
  2021-09-24 15:21 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Tannenbaum @ 2021-09-22 18:30 UTC (permalink / raw)
  To: xenomai

I am just starting to work with EVL/Xenomai 4.  (I have worked with Xenomai
2 and 3 in the past.)
I cloned the linux-evl repo from LTS latest, my git HEAD is 105f39131e8a.
I am compiling on (and for) an Intel i5-10400 with Ubuntu Studio 20.04
distro installed,
and I started with a /boot/config file that came with the distro kernel as
the basis for my EVL Linux kernel .config.

I ran into a compile error:

# make modules
arch/x86/kernel/irq_pipeline.c: In function ‘do_sysvec_inband’:
arch/x86/kernel/irq_pipeline.c:117:3: error: implicit declaration of
function ‘__sysvec_uv_bau_message’ [-Werror=implicit-function-declaration]
  117 |   __sysvec_uv_bau_message(regs);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
etc.

I looked in irq_pipeline.c and saw that __sysvec_uv_bau_message is
referenced inside #ifdef CONFIG_X86_UV.
Which is SGI Ultraviolet, a NUMA server setting that I don't need.
CONFIG_X86_UV is turned on in the distro kernel, so my EVL config inherited
this setting.
I was able to compile the EVL distro patched kernel after I
turned CONFIG_X86_UV off.
I think I tried EVL-patched 5.10.61 and 5.14.0 and both showed a similar
compile error.

-Andy

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

* Re: problem compiling EVL kernel with CONFIG_X86_UV set
  2021-09-22 18:30 problem compiling EVL kernel with CONFIG_X86_UV set Andrew Tannenbaum
@ 2021-09-24 15:21 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2021-09-24 15:21 UTC (permalink / raw)
  To: Andrew Tannenbaum; +Cc: xenomai


Andrew Tannenbaum via Xenomai <xenomai@xenomai.org> writes:

> I am just starting to work with EVL/Xenomai 4.  (I have worked with Xenomai
> 2 and 3 in the past.)
> I cloned the linux-evl repo from LTS latest, my git HEAD is 105f39131e8a.
> I am compiling on (and for) an Intel i5-10400 with Ubuntu Studio 20.04
> distro installed,
> and I started with a /boot/config file that came with the distro kernel as
> the basis for my EVL Linux kernel .config.
>
> I ran into a compile error:
>
> # make modules
> arch/x86/kernel/irq_pipeline.c: In function ‘do_sysvec_inband’:
> arch/x86/kernel/irq_pipeline.c:117:3: error: implicit declaration of
> function ‘__sysvec_uv_bau_message’ [-Werror=implicit-function-declaration]
>   117 |   __sysvec_uv_bau_message(regs);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> etc.
>
> I looked in irq_pipeline.c and saw that __sysvec_uv_bau_message is
> referenced inside #ifdef CONFIG_X86_UV.
> Which is SGI Ultraviolet, a NUMA server setting that I don't need.
> CONFIG_X86_UV is turned on in the distro kernel, so my EVL config inherited
> this setting.
> I was able to compile the EVL distro patched kernel after I
> turned CONFIG_X86_UV off.
> I think I tried EVL-patched 5.10.61 and 5.14.0 and both showed a similar
> compile error.
>

Fixed, thanks.

-- 
Philippe.


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

end of thread, other threads:[~2021-09-24 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 18:30 problem compiling EVL kernel with CONFIG_X86_UV set Andrew Tannenbaum
2021-09-24 15:21 ` Philippe Gerum

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.