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

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

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes