Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5960

Toolchain with arm-meego-linux-gnueabi-gcc doesn't match Qt built with it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 2.4.0
    • All Other Issues
    • e7c118c70959ddce2f102ef31bf036f61c8135a8

    Description

      When I added the toolchain contained with compiler arm-meego-linux-gnueabi-gcc, Qt Creator detected it as:
      arm-linux-meego-elf-32bit

      However, when I added a Qt version built with that compiler, Qt Creator insists that there's no toolchain that can build it.

      Inspecting the code, it turns out that the QtCore binrary is detected as "arm-linux-generic-elf-32bit". After all, there's no encoding in the ELF header for the MeeGo, Harmattan or Maemo flavours. But that means the ABI comparison (ProjectExplorer::Abi::isCompatibleWith) fails.

      The code in isCompatibleWith accepts has a comment saying "// linux-generic is compatible with linux", however the comparison is inverted. The toolchain isn't generic.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes