On Wed, 28 Nov 2007 10:27:18 +0100 (CET) Geert Uytterhoeven <[email protected]> wrote: > > So the problem is in scripts/mod/file2alias.c, which gives a different > sizeof(struct sdio_device_id) on the cross-compile host: > - sizeof(struct sdio_device_id) = 12 on ia32 > - sizeof(struct sdio_device_id) = 10 on m68k > > While file2alias.c has code to handle 32 vs. 64 bit correctly when > cross-compiling, it doesn't handle alignment differences between host > and target. > Delightful. So what are the options here? Start packing the device table structs is the obvious quick fix. Declaring cross-compilation unsupported isn't really viable, and I guess determining padding differences is far from easy. Rgds Pierre
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: m68k build failure
- From: Alan Cox <[email protected]>
- Re: m68k build failure
- References:
- m68k build failure
- From: Andrew Morton <[email protected]>
- Re: m68k build failure
- From: Pierre Ossman <[email protected]>
- Re: m68k build failure
- From: Geert Uytterhoeven <[email protected]>
- Re: m68k build failure
- From: Geert Uytterhoeven <[email protected]>
- m68k build failure
- Prev by Date: Re: m68k build failure
- Next by Date: Re: [PATCH 4/7] Hibernation: Fix comment in disk.c
- Previous by thread: Re: m68k build failure
- Next by thread: Re: m68k build failure
- Index(es):