Hello, I found the solution: the problem is due to ICU which cannot (don't know why) dynamically load its data at runtime from libicudata.so.52.
I recompiled ICU for packaging data in standard file (instead of shared library) and now it works fine! You can review the full story here<http://stackoverflow.com/questions/22858103/qt-5-2-1-with-icu-support-all-applications-exit-with-code-1>and here<http://stackoverflow.com/questions/22859444/cross-compiled-icu4c-does-not-work-all-applications-exit-with-code-1/22931536#22931536> . /Morix Il giorno giovedì 3 aprile 2014 15:28:37 UTC+2, Morix Dev ha scritto: > > Thiago, > just to narrow down the problem... can you tell me how you cross-compiled > QT? I mean can you tell me which flags have you put on your "./configure" > command line and what is the content of your > "qtbase/mkspecs/<your-architecture>/qmake.conf"? > > Thanks, > /Morix > > Il giorno giovedì 3 aprile 2014 15:17:08 UTC+2, Morix Dev ha scritto: >> >> Hi Thiago, >> I haven't found a solution yet... I am still working on it... now I am >> suspecting that is something related to compiler optimization flags when >> compiling QT... >> >> I'll let you know if I find a useful solution... but hey: please do not >> hesitate to write here if you found a valid solution too! :) >> >> Thanks & regards. >> /Morix >> >> >> Il giorno giovedì 3 aprile 2014 15:00:35 UTC+2, Thiago Marques ha scritto: >>> >>> Hi Morix Dev, >>> >>> I had a similar problem. Do you find out what was causing this error? >>> Qt AM335x application exits with code 1 at startup. >>> Tḧanks, >>> >>> Best regards , >>> >>> >>> Em quarta-feira, 2 de abril de 2014 11h05min09s UTC-3, Morix Dev >>> escreveu: >>>> >>>> Hello everybody, >>>> I've cross compiled QT5.2.1 with ICU support for TI AM335x (not exactly >>>> a Beagleboard but much similar). >>>> >>>> Now I am doing some tests, but I am not able to execute any program >>>> built against the cross-compiled QT. Any program (even the simples >>>> console-based "Hello, world" exits with code 1 just at the startup and >>>> does >>>> not produce any output). >>>> >>>> If a perform a "strace" of my program I have the output that you can >>>> read at the following address: >>>> https://onedrive.live.com/redir?resid=DCB987547568DE13!107&authkey=!ANC7D8Zh7ZfGz4w&ithint=file,.log >>>> >>>> The problem seems to be something wrong just after loading >>>> libicudata.so.52 library... exit_group(1) is being called somewhere... but >>>> who is calling it? How can I discover that? >>>> >>>> Can somebody help me? Thanks for your support! >>>> >>> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
