Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5848 Make Qt for Symbian build with RVCT4
  3. QTBUG-5849

Clashing build flags for enum sizes cause linker problems

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Duplicate
    • Not Evaluated
    • 4.7.1
    • None
    • None

    Description

      When linking, there is an error about linking from object files using --enum_is_int (ie. stuff built with the Symbian toolchain) to ARM libraries built using --packed_enum.

      However, on further study, it seems that the symbols that are causing this linkage problem are actually part of the standard C++ library. As such, they should be linking to the Symbian implementation, not the ARM one. However, due to issues with symbol visibility (see QTBUG-7006), the linker prefers the versions in the ARM-supplied static library over the one's in the Symbian-supplied shared object file (.dso) (reason: the symbols are imported in the object files with STV_HIDDEN visibility, which means that currently the ARM linker won't consider symbols from .dso's as suitable candidates for linking).

      Attachments

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

        Activity

          People

            riskedal Espen Riskedal (closed Nokia identity) (Inactive)
            iacampbe Iain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes