ACPI modpost failure in 2.6.23-rc1-git2

From: Andy Whitcroft
Date: Mon Aug 06 2007 - 07:44:02 EST


Between 2.6.23-rc1-git1 and 2.6.23-rc1-git2 we started getting the
following fatal error during modpost on an x86_64 machine:

FATAL: drivers/acpi/video: sizeof(struct acpi_device_id)=20 is not a
modulo of the size of section __mod_acpi_device_table=48.
Fix definition of struct acpi_device_id in mod_devicetable.h
make[1]: *** [__modpost] Error 1

This check seems to have been added as part of the following commit:

commit 29b71a1ca74491fab9fed09e9d835d840d042690
Author: Thomas Renninger <trenn@xxxxxxx>
Date: Mon Jul 23 14:43:51 2007 +0200

ACPI: autoload modules - Create ACPI alias interface

Compiler version:
Reading specs from /usr/lib/gcc/i486-linux/3.4.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4
--enable-shared --with-system-zlib --enable-nls
--without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk
--disable-werror i486-linux
Thread model: posix
gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13sarge1)

We are compiling a 64bit kernel on a machine with a pretty old
userspace which is 32bit.

Let me know if you need more info.

-apw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/