ts-7000
[Top] [All Lists]

[ts-7000] Re: How to make an EABI cross compiler for ts boards, step by

To:
Subject: [ts-7000] Re: How to make an EABI cross compiler for ts boards, step by step
From: "Doug" <>
Date: Sat, 15 Aug 2009 15:53:44 -0000
--- In  Zz Zimmerman <> wrote:

> Thanks Doug.  This is exactly the info I was looking for.  I haven't 
> been that impressed with X either.  I'll start down the path of building 
> Qt.  Thanks again for the important clues.

Hey no prob...one thing I forgot to mention is that we saw some weird behavior 
with Qt/Embedded after getting it to compile.

When trying to run any Qt program it would segfault in 
QLinuxFbScreen::useOffscreen().

If you look at the code for that member function in the Qt source, there's 
nothing that could possibly cause a segfault. It turns out it's caused by a bug 
in GCC for ARM that clobbers a register under certain (rare) conditions, and I 
believe it exists in gcc 4.1 and up.

Andy's instructions include a patch for it for gcc 4.3.3 (adapted from the 
patch attached at the bottom of 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39429), I'm not sure how difficult 
it is to backport the patch to earlier versions. After applying the patch Qt 
works excellently.



------------------------------------

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