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

Linker errors when linking against QmlJSDebugger.lib (GCCE)

    XMLWordPrintable

Details

    • 84743eff4648c14208e9c21259c7c5584fad609f

    Description

      How to reproduce

      • Compile QML Debugging Library for 'Qt 4.7.3 for Symbian^3 (Qt SDK)'
      • Create new Qt Quick Application with Symbian target, set above mentioned Qt version, Release build
      • Check 'Link QML debugging library' in qmake step
      • Compile

      Errors

      build log

       target     : epoc32\release\armv5\urel\untitled20.exe  	[arm.v5.urel.gcce4_4_1]
         d:/qtsdk/symbian/tools/gcce4/bin/../lib/gcc/arm-none-symbianelf/4.4.1/../../../../arm-none-symbianelf/bin/ld.exe: warning: D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/usrt3_1.lib(ucppinit.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(jsdebuggeragent.o): In function `QmlJSDebugger::fromScriptValue(QString const&, QScriptValue const&)':
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:171: undefined reference to `__aeabi_atexit'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:173: undefined reference to `__aeabi_atexit'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:204: undefined reference to `__dso_handle'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qdeclarativeinspectorservice.o): In function `QmlJSDebugger::serviceInstance()':
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/qdeclarativeinspectorservice.cpp:41: undefined reference to `__aeabi_atexit'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/qdeclarativeinspectorservice.cpp:41: undefined reference to `__dso_handle'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(zoomtool.o): In function `QmlJSDebugger::ZoomTool::nextZoomScale(QmlJSDebugger::ZoomTool::ZoomDirection) const':
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/editor/zoomtool.cpp:309: undefined reference to `__aeabi_atexit'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/editor/zoomtool.cpp:309: undefined reference to `__dso_handle'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qrc_editor.o): In function `__static_initialization_and_destruction_0':
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/tmp/rcc/debug_shared/qrc_editor.cpp:4092: undefined reference to `__aeabi_atexit'
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qrc_editor.o): In function `global constructors keyed to qInitResources_editor()':
         D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/tmp/rcc/debug_shared/qrc_editor.cpp:4092: undefined reference to `__dso_handle'
         collect2: ld returned 1 exit status
      

      From Makefile.log:

      <recipe name='linkandpostlink' target='D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/untitled20.exe' host='garfield' layer='' component='' bldinf='D:/dev/tmp/untitled20/bld.inf' mmp='D:/dev/tmp/untitled20/untitled20_exe.mmp' config='arm.v5.urel.gcce4_4_1' platform='armv5' phase='ALL' source='' prereqs=''>
      <![CDATA[
      + D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/tools/checklib.exe stdc++ --elf D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/qtmain.lib
      + D:/QtSDK/Symbian/tools/gcce4/bin/arm-none-symbianelf-g++.exe -Wl,-Ttext,0x8000 -Wl,--no-undefined -nodefaultlibs -Wl,--strip-debug -Wl,-shared -Wl,-Tdata,0x400000 -Wl,--default-symver '-Wl,-soname=untitled20{000a0000}[e44ba5ea].exe' -Wl,--entry=_E32Startup -Wl,-u,_E32Startup,D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/eexe.lib -o D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/untitled20.exe.sym -Wl,-Map=D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/untitled20.exe.map @D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/untitled20/c_5eef650db51defcb/untitled20_exe/armv5/urel/untitled20_urel_objects.via --start-group D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/usrt3_1.lib --end-group D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/usrt3_1.lib D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/qtmain.lib D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/libstdcppv5.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/QtDeclarative.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/QtScript.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/QtGui.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/QtCore.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/libpthread.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/libc.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/libm.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/euser.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/libdl.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/stdnew.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/drtaeabi.dso D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/lib/dfpaeabi.dso -lsupc++ -lgcc
      d:/qtsdk/symbian/tools/gcce4/bin/../lib/gcc/arm-none-symbianelf/4.4.1/../../../../arm-none-symbianelf/bin/ld.exe: warning: D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/usrt3_1.lib(ucppinit.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(jsdebuggeragent.o): In function `QmlJSDebugger::fromScriptValue(QString const&, QScriptValue const&)':
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:171: undefined reference to `__aeabi_atexit'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:173: undefined reference to `__aeabi_atexit'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/jsdebuggeragent.cpp:204: undefined reference to `__dso_handle'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qdeclarativeinspectorservice.o): In function `QmlJSDebugger::serviceInstance()':
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/qdeclarativeinspectorservice.cpp:41: undefined reference to `__aeabi_atexit'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/qdeclarativeinspectorservice.cpp:41: undefined reference to `__dso_handle'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(zoomtool.o): In function `QmlJSDebugger::ZoomTool::nextZoomScale(QmlJSDebugger::ZoomTool::ZoomDirection) const':
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/editor/zoomtool.cpp:309: undefined reference to `__aeabi_atexit'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/editor/zoomtool.cpp:309: undefined reference to `__dso_handle'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qrc_editor.o): In function `__static_initialization_and_destruction_0':
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/tmp/rcc/debug_shared/qrc_editor.cpp:4092: undefined reference to `__aeabi_atexit'
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/release/armv5/urel/QmLJSDebugger.lib(qrc_editor.o): In function `global constructors keyed to qInitResources_editor()':
      D:/QtSDK/Symbian/SDKs/Symbian3Qt473/qtc-qmldbg/tmp/rcc/debug_shared/qrc_editor.cpp:4092: undefined reference to `__dso_handle'
      collect2: ld returned 1 exit status
      
      ]]><time start='1311583672.39703' elapsed='2.657' />
      <status exit='failed' code='1' attempt='1' />
      </recipe>
      

      Attachments

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: