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

LTCG needs to be disabled for WebKit on MSVC2013

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.1
    • 5.2.0
    • WebKit
    • None
    • Windows 8 64-bit
      MSVC 2013
      LTCG
    • a6775268c2be63ec6ffdb02ee63b76fc40f1618c

    Description

      Building QtWebKit on Windows 8 64-bit with MSVC 2013 x86 fails due to this error:

      lib /NOLOGO /OUT:release\WebCore.lib @C:\Users\SEBAST~1\AppData\Local\Temp\nmB1F8.tmp
      moc_QtMIMETypeSniffer.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
      LINK : fatal error LNK1248: image size (800001C8) exceeds maximum allowable size (80000000)

      This is with LTCG enabled. I found issue QTBUG-20556, which relates to this. The actual project file (qtwebkit/Source/WebCore/WebCore.pri) reads:

      win32-msvc2005|win32-msvc2008|win32-msvc2010|win32-msvc2012|wince*:{

      this needs to be extended for msvc2013 I guess.

      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
            shartte Sebastian Hartte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes