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

4.8 branch fails to build statically on Mac OS X.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.0
    • 4.8.x
    • Tools: Designer
    • None
    • Mac OS X
    • macOS
    • 74884dd3821b22453804cd726e8d10908f493adf

    Description

      When configured with:
      configure -fast -nomake examples -nomake demos -nomake tests -qt-zlib -no-gif -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -opensource -static -no-webkit -no-phonon -no-dbus -no-opengl -no-qt3support -no-xmlpatterns -no-svg -confirm-license -platform macx-g++42 -sdk /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch x86_64 -cocoa -prefix . -no-reduce-exports -debug-and-release -host-little-endian

      Make fails with:
      g++-4.2 -headerpad_max_install_names -arch x86_64 -arch i386 -all_load -Wl,-syslibroot,/Developer-3.2.5/SDKs/MacOSX10.5.sdk -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_i386 -mmacosx-version-min=10.4 -o ../../../../bin/Designer.app/Contents/MacOS/Designer .obj/release-static/fontpanel.o .obj/release-static/qttoolbardialog.o .obj/release-static/main.o .obj/release-static/qdesigner.o .obj/release-static/qdesigner_toolwindow.o .obj/release-static/qdesigner_formwindow.o .obj/release-static/qdesigner_workbench.o .obj/release-static/qdesigner_settings.o .obj/release-static/qdesigner_server.o .obj/release-static/qdesigner_actions.o .obj/release-static/qdesigner_appearanceoptions.o .obj/release-static/saveformastemplate.o .obj/release-static/newform.o .obj/release-static/versiondialog.o .obj/release-static/appfontdialog.o .obj/release-static/preferencesdialog.o .obj/release-static/assistantclient.o .obj/release-static/mainwindow.o .obj/release-static/moc_fontpanel.o .obj/release-static/moc_qdesigner.o .obj/release-static/moc_qdesigner_toolwindow.o .obj/release-static/moc_qdesigner_formwindow.o .obj/release-static/moc_qdesigner_workbench.o .obj/release-static/moc_qdesigner_actions.o .obj/release-static/moc_qdesigner_server.o .obj/release-static/moc_qdesigner_appearanceoptions.o .obj/release-static/moc_saveformastemplate.o .obj/release-static/moc_newform.o .obj/release-static/moc_versiondialog.o .obj/release-static/moc_appfontdialog.o .obj/release-static/moc_preferencesdialog.o .obj/release-static/moc_mainwindow.o .obj/release-static/qrc_designer.o .obj/release-static/qrc_qttoolbardialog.o -L/usr/nec/static-build-nokia-d/lib -L../../lib -L../../../../lib -lQtDesignerComponents -L/usr/nec/static-build-nokia-d/lib -framework ApplicationServices -framework CoreFoundation -framework AppKit -framework Carbon -lQtDesigner -lQtScript -lQtXml -lQtGui -lQtNetwork -framework SystemConfiguration -lQtCore -lz -lm
      ld: warning: directory '../../lib' following -L not found
      ld: duplicate symbol QtKeySequenceEdit::keyReleaseEvent(QKeyEvent*) in /usr/nec/static-build-nokia-d/lib/libQtDesigner.a(qtpropertybrowserutils.o) and /usr/nec/static-build-nokia-d/lib/libQtDesignerComponents.a(qtpropertybrowserutils.o) for architecture x86_64
      collect2: ld returned 1 exit status
      ld: warning: directory '../../lib' following -L not found
      ld: duplicate symbol QtKeySequenceEdit::keyReleaseEvent(QKeyEvent*) in /usr/nec/static-build-nokia-d/lib/libQtDesigner.a(qtpropertybrowserutils.o) and /usr/nec/static-build-nokia-d/lib/libQtDesignerComponents.a(qtpropertybrowserutils.o) for architecture i386
      collect2: ld returned 1 exit status

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            ray donnelly Ray Donnelly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: