Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Before to open a case to Nokia... Thumb error.
Qt 6.11 is out! See what's new in the release blog

Before to open a case to Nokia... Thumb error.

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 2 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlicemirrorA Offline
    AlicemirrorA Offline
    Alicemirror
    wrote on last edited by
    #1

    Hi,

    I have a problem with the final make of the Qt library for embedded platforms actually unsolved and without documentation. I hope that someone can give me and advice.
    i have already posted this in the thread "Qt for embedded platforms on LPC3250 - Thumb mode error on make":Qt for embedded platforms on LPC3250 - Thumb mode error on make
    The following lines reports the description of the problem. If someone has ideas be welcome!

    Many thanks. Enrico

    ------------------ Thumb error: problem description

    Hi to all,

    After advices and good support from the community as in the following links history,

    "Installing Qt framework on embedded Linux":http://developer.qt.nokia.com/forums/viewthread/5523
    and
    "Qt on embedded platforms and “QT for embedded linux”":http://developer.qt.nokia.com/forums/viewthread/4340/

    Thanks to the precious advices of ZapB I setup correctly the working environment with the gnu-gcc toolchain working fine. To be sure, due to some minor changes like the compiler folder and come compiler names that does not match exactly with the original .../mkspecs/qws/linux-arm-gnueabi-g++ was recreated defining a customized copy with the name ubuntu-linux-arm-gnueabi-g++

    The hardware platform is an arm cpu that has already the linux on board working without problems. The toolchain used for the linux kernel and file system build was configured by myself using the Ltib toolchain and the cpu is LPC3250 from NXP. The hardware manufacturers told me that it works in little-endian mode.

    At this point I have launched the ./configure as follows:

    @./configure -prefix /home/enrico/qt-ea3250 -prefix-install -embedded armv7 -xplatform qws/linux-ubuntu-arm-gnueabi-g++ -qt-gfx-linuxfb -qt-gfx-vnc -no-largefile -no-accessibility -no-qt3support -no-sse2 -qt-libpng -qt-libjpeg -no-cups -no-libtiff -qt-zlib@

    The compilation goes ahead without any error and all seems working fine. Then, I launch make
    Make starts linking all the objects and after some minute I obtain the following dramatic message:

    @{standard input}: Assembler messages:
    {standard input}:2467: Error: selected processor does not support Thumb mode swp r6,r4,[r3]' make[1]: *** [.obj/release-shared-emb-arm/qobject.o] Error 1 make[1]: Leaving directory /home/enrico/qt-everywhere-opensource-src-4.7.3/src/corelib'@

    The strangeness is that the Thumb mode as I know is a normal feature of Arm processors not a special characteristic of this CPU.

    At this point the make process stop and I have not any idea of what should be done.

    Enrico Miglino (aka Alicemirror)
    Balearic Dynamics
    Islas Baleares, Ibiza (Spain)
    www.balearicdynamics.com

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Looks like a known problem. See these links:

      http://lists.meego.com/pipermail/meego-dev/2011-February/481660.html
      http://bugreports.qt.nokia.com/browse/QTBUG-15911
      https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/490371

      The last link may have a patch to try.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • AlicemirrorA Offline
        AlicemirrorA Offline
        Alicemirror
        wrote on last edited by
        #3

        ZapB You are great!!!

        (now I read the link :) )

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

        1 Reply Last reply
        0
        • AlicemirrorA Offline
          AlicemirrorA Offline
          Alicemirror
          wrote on last edited by
          #4

          I checked the links above and regardles the last (where the solution seems not to simple to manage) I read that it is a pbolem of Qt: Known issue. Thumb builds on Linux have never been supported.

          Do you think that recompliling the libraries on windows 7 or mac (doubt on Mac because it is linux too) maybe a workaround to this problem or the problem is when Qt compiles on every host Versus a linux build for armV7 ?

          As I have a complete scenario I go ahead to solve this problem.

          Thank you

          Enrico Miglino (aka Alicemirror)
          Balearic Dynamics
          Islas Baleares, Ibiza (Spain)
          www.balearicdynamics.com

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            ZapB
            wrote on last edited by
            #5

            I would start off by trying to build the latest Qt 4.8 from gitorious and see if you can apply any of the mentioned patches to get it to work. That should get you close if not quite all of the way there. Good luck.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply
            0
            • AlicemirrorA Offline
              AlicemirrorA Offline
              Alicemirror
              wrote on last edited by
              #6

              Why 4.8 ? I hava not yet tested this version, some advice to choice linux or windows ? I am using in any case an isolated virtual machine to be sure that the environment is correctly set and dedicated.

              Enrico Miglino (aka Alicemirror)
              Balearic Dynamics
              Islas Baleares, Ibiza (Spain)
              www.balearicdynamics.com

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                ZapB
                wrote on last edited by
                #7

                I say 4.8 because some of the issues (the configure checks to differentiate between arm5/6/7) appear to be fixed there already.

                As for Windows vs Linux. Try whatever you have setup at the moment I guess.

                Nokia Certified Qt Specialist
                Interested in hearing about Qt related work

                1 Reply Last reply
                0
                • AlicemirrorA Offline
                  AlicemirrorA Offline
                  Alicemirror
                  wrote on last edited by
                  #8

                  Ok.

                  Thank you, hope to post good news asap :)

                  Enrico Miglino (aka Alicemirror)
                  Balearic Dynamics
                  Islas Baleares, Ibiza (Spain)
                  www.balearicdynamics.com

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved