[ELDK] ppc_6xx link segmentation fault

Gabriel Johnson johnsoga at gmail.com
Mon Jan 4 18:29:54 CET 2010

I am wondering if anyone had a chance to try and build Qt 4.6.0 with
ELDK 4.2 for powerpc?

I am thinking about trying to rebuild the gcc package with the latest
version of gcc and see if that fixes my issue.  Should I be able to
just build the latest gcc or do I need to rebuild the ELDK?


>>> same issue.  I believe the linker is what is segfaulting,  the output
>>> from the linker is the following:
>>> powerpc-linux-g++ -Wl,-rpath-link,/opt/trolltech/qte-4.6.0-powerpc/lib
>>> -fno-exceptions -Wl,--gc-sections -Wl,-O1 -shared
>>> -Wl,-soname,libQtWebKit.so.4 -o libQtWebKit.so.4.6.0 <MANY OBJECT
>>> FILES> -L/opt/trolltech/qte-4.6.0-powerpc/lib -L/opt/eldk/ppc_6xx/lib
>>> -L/opt/eldk/ppc_6xx/usr/lib -lQtGui
>>> -L/opt/trolltech/qte-4.6.0-powerpc/lib -L/opt/eldk/ppc_6xx/lib
>>> -L/opt/eldk/ppc_6xx/usr/lib -lQtNetwork -lQtCore -lgthread-2.0
>>> -ldbus-1 -lpthread
>> Thi sis not the output, but just (a fragment of) the command you were
>> running. Why don't you supply the real, complete output?
> Sorry but I am not sure what you mean by the "real, complete output"
> this is the last command executed before the Segmentation fault.  I
> have omitted the list of object files in the call because if I include
> them the email is too long for the mailing list.  Can you explain what
> would be more useful?
>>> The only test case I can think of is to download the qt source and try
>>> to build it with the eldk, I can provide exact instructions if needed.
>> Guess what? The _are_ needed.
> 1. Download the source
> http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0.tar.gz
> 2. Uncompress the qt-everywhere-opensource-src-4.6.0.tar.gz and enter
> the qt-everywhere-opensource-src-4.6.0 directory
> 3. Configure using the following command
> ./configure -fast -no-qt3support -no-svg -no-scripttools -qt-zlib
> -no-libtiff -qt-libpng -no-libmng -no-libjpeg -openssl -no-rpath
> -optimized-qmake -no-nis -no-cups -no-iconv -big-endian
> -no-feature-qws_cursor -no-feature-qws_alpha_cursor -qt-freetype
> -xplatform qws/linux-powerpc-g++ -embedded powerpc
> 4. Run make
> 5. Wait for Segfault
> Hope this helps and thanks for the help,
> Gabe

More information about the eldk mailing list