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

static builds not working on Mac OS X 10.8

    XMLWordPrintable

Details

    • macOS
    • d0d158f0921fbcc67ac33eedc69684c1b3b389a7

    Description

      ./configure -opensource -confirm-license -prefix $PWD/qtbase -release -no-pch -static -nomake examples -nomake demos -nomake tests -skip qtwebkit -no-icu
      
      cd qmleasing/ && ( test -e Makefile || /Users/qa/qt-everywhere-opensource-src-5.1.0-rc1/qtbase/bin/qmake /Users/qa/qt-everywhere-opensource-src-5.1.0-rc1/qtdeclarative/tools/qmleasing/qmleasing.pro -o Makefile ) && make -f Makefile 
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -o qmleasing .obj/release-static/main.o .obj/release-static/splineeditor.o .obj/release-static/mainwindow.o .obj/release-static/segmentproperties.o .obj/release-static/qmleasing_plugin_import.o .obj/release-static/qrc_resources.o .obj/release-static/moc_splineeditor.o .obj/release-static/moc_mainwindow.o .obj/release-static/moc_segmentproperties.o   -L/Users/qa/qt-everywhere-opensource-src-5.1.0-rc1/qtbase/lib -lQt5Quick -framework ApplicationServices -framework CoreServices -framework Foundation -framework CoreFoundation -framework Security -framework SystemConfiguration -framework Cocoa -framework OpenGL -framework AGL -lQt5Qml -lQt5V8 -framework Carbon -lQt5Network -L/Users/qa/qt-everywhere-opensource-src-5.1.0-rc1/qtbase/plugins/platforms -lqcocoa -framework IOKit -lQt5PrintSupport -lQt5Widgets -lQt5PlatformSupport -lQt5Gui -lQt5Core -lz -lm 
      Undefined symbols for architecture x86_64:
        "std::bad_alloc::bad_alloc()", referenced from:
            qBadAlloc() in libQt5Core.a(qglobal.o)
            QVector<QList<bool (*)(void**)> >::reallocData(int, int, QFlags<QArrayData::AllocationOption>) in libQt5Core.a(qglobal.o)
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[3]: *** [qmleasing] Error 1
      make[2]: *** [sub-qmleasing-make_first] Error 2
      make[1]: *** [sub-tools-make_first] Error 2
      make: *** [module-qtdeclarative-make_first] Error 2
      

      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ø
              seahumad [BB] Sergio Ahumada (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes