[Top] [All Lists]

Re: Build errors caused by modalias generation patch

To: Ralf Baechle <>
Subject: Re: Build errors caused by modalias generation patch
From: Geert Uytterhoeven <>
Date: Tue, 7 May 2013 14:20:50 +0200
Cc: Andreas Schwab <>, "" <>, Linux MIPS Mailing List <>, Linux-Arch <>, linux-kbuild <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=SYZyWKvxb+JG9ARqEqMeGZu5i7U71Him3NPX6v85MYI=; b=toX55Ox7S2SvL2UMBtRgMEx1riGu6smoGEdSAmdQZSvBngY5t0QnxTXtbVFgux5ILF Z+3VPijuhcRBH2GRKi7xMe8m4M+Jy5XcP1ErmYtXdoDe59tf9rDIiI5Tux0r+HzRd4zD /MppEuwSXUlnnd0za2Sd22UeSqszrswKiW0cj6ZJHfvWhfMVchaZfO2LGbw1pXbUjn08 Msiu/uGkZQI2ykvdMWD1WK1YsazmBJWjc4xtvWHVK5ARfuiXZWhO2l2A41HSorg/jW5C K67BARjn9J0R2u22N0Z4nI1uv9+ZjBQrZb2BKTzjFng26JOV85Uw2SFLNFXfbIi9UfDG 0JOw==
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <87mws8m3eu.fsf@hase.home> <> <>
On Tue, May 7, 2013 at 12:58 PM, Geert Uytterhoeven
<> wrote:
> On Tue, May 7, 2013 at 12:04 PM, Ralf Baechle <> wrote:
>> On Mon, May 06, 2013 at 07:19:53PM +0200, Andreas Schwab wrote:
>>> Please try the patch in
>>> <>.
>> 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?



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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

<Prev in Thread] Current Thread [Next in Thread>