Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13944

Current 4.7 branch fails to build with -static

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.2
    • 4.7.1
    • None
    • None
    • Linux, gcc 4.5.1, binutils 2.20.51.0.11, make 3.82, bash 4.1
    • d75dad653d651eb725b238ad9db4dccd6a1f1d2e

    Description

      Current 4.7 git branch fails to build with -static (shared library build is ok):

      g++ Wl,-rpath-link,/usr/src/ark/BUILD/qt/lib -m64 -O2 -fomit-frame-pointer -fweb -frename-registers -ffast-math -Wl,-O2,-z,combreloc,-z,relro,enable-new-dtags,-hash-style=gnu -g -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon -fivopts -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DNDEBUG -mmmx -msse -msse2 -mfpmath=sse,387 -Wl,-rpath,/usr/lib64/qt4-embedded/lib -Wl,-rpath,/usr/lib64/qt4-embedded/lib -o ../../../bin/uic3 .obj/release-static-emb-x86_64/customwidgetsinfo.o .obj/release-static-emb-x86_64/databaseinfo.o .obj/release-static-emb-x86_64/driver.o .obj/release-static-emb-x86_64/treewalker.o .obj/release-static-emb-x86_64/ui4.o .obj/release-static-emb-x86_64/validator.o .obj/release-static-emb-x86_64/cppextractimages.o .obj/release-static-emb-x86_64/cppwritedeclaration.o .obj/release-static-emb-x86_64/cppwriteicondata.o .obj/release-static-emb-x86_64/cppwriteicondeclaration.o .obj/release-static-emb-x86_64/cppwriteiconinitialization.o .obj/release-static-emb-x86_64/cppwriteincludes.o .obj/release-static-emb-x86_64/cppwriteinitialization.o .obj/release-static-emb-x86_64/main.o .obj/release-static-emb-x86_64/ui3reader.o .obj/release-static-emb-x86_64/parser.o .obj/release-static-emb-x86_64/domtool.o .obj/release-static-emb-x86_64/object.o .obj/release-static-emb-x86_64/subclassing.o .obj/release-static-emb-x86_64/form.o .obj/release-static-emb-x86_64/converter.o .obj/release-static-emb-x86_64/widgetinfo.o .obj/release-static-emb-x86_64/embed.o .obj/release-static-emb-x86_64/qt3to4.o .obj/release-static-emb-x86_64/deps.o .obj/release-static-emb-x86_64/uic.o -L/usr/src/ark/BUILD/qt/lib -lQt3Support -L/usr/src/ark/BUILD/qt/lib -lQtSql -lsqlite3 -lQtCore -lpthread -lz -lm -ldl -pthread -lgthread-2.0 -lrt -lglib-2.0 -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread -pthread -pthread -lQtGui -ljpeg -lmng -ltiff -lQtNetwork -pthread -pthread -lssl -lcrypto -pthread -pthread -pthread -pthread -pthread -lpng -lfreetype -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lpthread
      /usr/src/ark/BUILD/qt/lib/libQtGui.a(qapplication.o): In function `~QBasicTimer':
      /usr/src/ark/BUILD/qt/src/gui/../../include/QtCore/../../src/corelib/kernel/qbasictimer.h:60: undefined reference to `QBasicTimer::stop()'
      /usr/src/ark/BUILD/qt/src/gui/../../include/QtCore/../../src/corelib/kernel/qbasictimer.h:60: undefined reference to `QBasicTimer::stop()'
      /usr/src/ark/BUILD/qt/lib/libQtGui.a(qapplication.o): In function `QApplication::event(QEvent*)':
      /usr/src/ark/BUILD/qt/src/gui/kernel/qapplication.cpp:2476: undefined reference to `QBasicTimer::stop()'
      /usr/src/ark/BUILD/qt/src/gui/kernel/qapplication.cpp:2456: undefined reference to `QBasicTimer::stop()'
      /usr/src/ark/BUILD/qt/src/gui/kernel/qapplication.cpp:2472: undefined reference to `QBasicTimer::start(int, QObject*)'

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              bero Bernhard Rosenkränzer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes