From: Adrian Bunk <bunk@stusta.de>
To: Thomas Renninger <trenn@suse.de>
Cc: Jan Dittmer <jdi@l4x.org>, Len Brown <lenb@kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-acpi@vger.kernel.org,
"linux-kernel@vger.kernel.org. Sam Ravnborg" <sam@ravnborg.org>,
tony.luck@intel.com, linux-ia64@vger.kernel.org
Subject: Re: [GIT PATCH] ACPI patches for 2.6.23-rc1
Date: Fri, 27 Jul 2007 23:07:42 +0000 [thread overview]
Message-ID: <20070727230741.GD15129@stusta.de> (raw)
In-Reply-To: <1185553512.3849.46.camel@noname>
On Fri, Jul 27, 2007 at 06:25:12PM +0200, Thomas Renninger wrote:
> On Fri, 2007-07-27 at 08:26 +0200, Jan Dittmer wrote:
> > Len Brown wrote:
> > > Hi Linus,
> > >
> > > please pull from:
> > >
> > > git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release
> >
> > This seems to break ia64 defconfig:
> >
> > Building modules, stage 2.
> > MODPOST 157 modules
> > FATAL: drivers/acpi/button: sizeof(struct acpi_device_id) is not a modulo of the size of section __mod_acpi_device_table\x144.
> > Fix definition of struct acpi_device_id in mod_devicetable.h
> > make[2]: *** [__modpost] Error 1
> > make[1]: *** [modules] Error 2
> > make: *** [_all] Error 2
> >
> > gcc 3.3.6, binutils 2.15.94
> >
> > http://l4x.org/k/?d2569
>
> This is strange, I just compiled on a IA64 with button as module
> (defconfig), but with gcc version 4.1.2, all is fine.
> Anyone an idea how to run into that?
I don't have an idea how this happens, but it sounds like an alignment
issue:
sizeof(struct acpi_device_id)
"struct acpi_device_id button_device_ids[]" contains 6 elements
144 = 6 * 24 = 6 * (3 * 8)
So it seems on ia64 with gcc 3.3.6 there's some 8 byte alignment of the
array members?
Sam and the ia64 maintainers Cc'ed - they might know better what's going
on here.
> I won't be able to detailed debug this before Monday, but be sure I will
> do so then.
>
> Thanks,
>
> Thomas
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next parent reply other threads:[~2007-07-27 23:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200707251238.50218.lenb@kernel.org>
[not found] ` <46A98FF9.8060801@l4x.org>
[not found] ` <1185553512.3849.46.camel@noname>
2007-07-27 23:07 ` Adrian Bunk [this message]
2007-07-27 23:41 ` [GIT PATCH] ACPI patches for 2.6.23-rc1 Andreas Schwab
[not found] ` <617E1C2C70743745A92448908E030B2A0209BB9D@scsmsx411.amr.corp.intel.com>
2007-07-28 1:39 ` scripts/mod/file2alias.c cross compile problem Adrian Bunk
2007-08-02 15:09 ` Thomas Renninger
2007-08-02 16:25 ` Luck, Tony
2007-08-02 16:36 ` Andreas Schwab
2007-08-02 17:40 ` Luck, Tony
2007-08-02 18:09 ` Sam Ravnborg
2007-08-02 19:15 ` Adrian Bunk
2007-08-02 19:24 ` Sam Ravnborg
2007-08-02 19:39 ` Al Viro
2007-08-02 22:08 ` Rusty Russell
2007-08-02 23:03 ` Adrian Bunk
2007-08-16 14:27 ` Thomas Renninger
2007-08-16 16:26 ` Luck, Tony
2007-08-16 17:03 ` Thomas Renninger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070727230741.GD15129@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@linux-foundation.org \
--cc=jdi@l4x.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=tony.luck@intel.com \
--cc=torvalds@linux-foundation.org \
--cc=trenn@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox