Hi Tom --
--- In Tom Panzarella <> wrote:
>
> I have this issue resolved. I want to thank Chris, Jiri, and Jim
> (contacted me off-list) for their replies. The resources that you all
> pointed me to helped me resolve this. For the benefit of the rest of
> the list, here is the deal....
>
> My setup is exactly per Chris's email below. Specifically, my kernel
> code is built using the EABI compiler, my root fs is OABI, my userland
> code (including shared library support) is built with OABI, and the
> kernel (the stock 2.6.21-ts) has CONFIG_OABI_COMPAT=y in the .config.
> The link that Chris sent: http://wiki.debian.org/ArmEabiPort has a
> section, "Struct packing and alignment", that details the differences
> in struct packing and alignment between OABI and EABI. Essentially the
> OABI code required a minimum struct size and alignment on 4-byte
> boundaries whereas the EABI has no minimum and alignment is determined
> by the field types in the struct. So, originally, I had a structure
> like this in my kernel driver:
Thanks for following this up with a solution for the archives!
Just out of curiosity, is there any reason (other than convenience or installed
base) for you to keep your rootfs and userland code as OABI? IIRC, this same
issue caused some headaches with ALSA modules for a while early on too.
Glad to hear you got it fixed.
regards, ......... Charlie
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|