lkml.org 
[lkml]   [2013]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Build errors caused by modalias generation patch
From
On Tue, May 7, 2013 at 12:58 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Tue, May 7, 2013 at 12:04 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
>> On Mon, May 06, 2013 at 07:19:53PM +0200, Andreas Schwab wrote:
>>> Please try the patch in
>>> <http://marc.info/?l=linux-kbuild&m=136767800809256&w=2>.
>>
>> No change in observed behaviour. I did all my builds in empty object
>> directories so I don't see why this patch would make any difference.
>
> I'm getting this in an ia64 build (don't ask me why I build for itanic ;-):
>
> FATAL: drivers/acpi/button: sizeof(struct acpi_device_id)=14 is not a
> modulo of the size of section __mod_acpi_device_table=144.
> Fix definition of struct acpi_device_id in mod_devicetable.h
>
> This is next-20130501, with or without Andreas' fix.
>
> It works in my development tree based on yesterday's mainline
> (d7ab7302f970a254997687a1cdede421a5635c68).
>
> I'll try today's linux-next, and will bisect if I find time...

This was also caused by a leftover scripts/mod/devicetable-offsets.h in the
source tree.

Andreas' fix works (sort of, read on), but only if you run "make mrproper"
_after_ applying it.

Still, if you have other leftovers from a previous build in the source tree,
you get:

Using /scratch/geert/linux/linux-next as source for kernel
/scratch/geert/linux/linux-next is not clean, please run 'make mrproper'
in the '/scratch/geert/linux/linux-next' directory.

However, you don't get that message if there's still a stale
scripts/mod/devicetable-offsets.h in the source tree.
Any idea how to fix that?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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


\
 
 \ /
  Last update: 2013-05-07 15:01    [W:0.038 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site