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

Qt 4.8.5 build failure with libc++ on OS X Mavericks (JavaScriptCore)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.8.5
    • WebKit
    • None
    • OS X 10.9 Mavericks, clang with libc++
    • macOS
    • Change-Id: I780062ce5971960dcad7b51e6226dcf7cd7c907f

    Description

      As of OS X Mavericks, the default standard c++ library switched from libstdc++ to libc+. With some trivial modifications to Qt build configuration (simply swapping out the min mac os version to something >= 10.7, adding -stdlib=libc+ flag), 4.8 can be coaxed to compile and link against libc++ on Mavericks.

      While most of the Qt library is able to build cleanly, the WTF module of the third party JavaScriptCore code is failing to build. The build and configure logs as well as the patched configuration files can be found here: https://gist.github.com/jensenb/7352148

      All of the errors point to a problematic definition of the nullptr type, but I have no idea what is wrong with the definition.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            jensenb Brian Jensen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes