Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds
From: Geert Uytterhoeven
Date: Tue Mar 08 2016 - 05:10:01 EST
On Tue, Mar 8, 2016 at 10:21 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>> Same comment as before: thou shall not compile kernels for m68k without
>> selecting any platform support.
> That should be enforced at the Kconfig level.
I'm fully aware of that ;-)
Unfortunately it's not trivial.
How do you enforce that at least one option from a list of options is enabled?
M68k (with MMU) supports three distinct classes of machines:
1. Coldfire (with Coldfire MMU)
2. Sun-3 (with Sun-3 MMU)
3. Rest (with classic Motorola MMU)
Class 3 contains multiple machine types (cfr. top of arch/m68k/Kconfig.machine)
and at least one of them must be selected.
So far everything I tried conflicted with enforcing the 3 distinct classes.
For nommu, it's simpler, as you can typically support a single platform only,
due to the different platforms (usually) having RAM at different addresses.
Suggestions are welcome....
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds