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

Qt 5.1 static build fails in webkit (which should be excluded automatically in case of static build)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.1
    • 5.1.0
    • Build System, WebKit
    • None
    • Ubuntu 12.04
    • 2573bb654e49a0bfb00ced6446cacae3a41fd776

    Description

      Configure Qt 5.1 with:
      ./configure -static -nomake examples

      and:
      make

      Expected outcome:
      build succeeds

      Actual outcome:
      Build fails with:

       
      /work/Qt/qt-5.1.0-static/qtbase/lib/libQt5WebKitWidgets.a: could not read symbols: Malformed archive
      collect2: ld returned 1 exit status
      make[3]: *** [../../bin/QtWebProcess] Error 1
      make[3]: Leaving directory `/work/Qt/qt-5.1.0-static/qtwebkit/Source/WebKit2'
      make[2]: *** [sub-WebKit2-WebProcess-pro-make_first-ordered] Error 2
      make[2]: Leaving directory `/work/Qt/qt-5.1.0-static/qtwebkit/Source'
      make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
      make[1]: Leaving directory `/work/Qt/qt-5.1.0-static/qtwebkit'
      make: *** [module-qtwebkit-make_first] Error 2
      

      Although there is the -skip <module> option in configure, but still it should exclude webkit automatically if the -static option is used.

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              qtcomsupport Qt Support
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes