ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7800: EABI vs OABI compiler issues with userland code (O

To:
Subject: [ts-7000] Re: TS7800: EABI vs OABI compiler issues with userland code (OABI) accessing dri
From: "charliem_1216" <>
Date: Fri, 13 Mar 2009 14:01:51 -0000
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/

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

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU