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

Windows DLL base addresses must be adjusted for 64-bit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.9.4, 5.10
    • Fix Version/s: 5.10.1
    • Component/s: Build System
    • Labels:
      None

      Description

      With recent MSVC versions (e.g. 15.6.2) we get warnings when building a 64-bit Qt:

      LNK4281 - "undesirable base address 0x6400000 for x64 image; set base address above 4GB for best ASLR optimization".
      

      For 64-bit builds we must either

      • specify higher base addresses
      • or don't specify the base address at all

      The former potentially reduces DLL load times and memory footprint [1].

      The latter is recommended by Microsoft for security reasons [2].

      [1] Rebasing Win32 DLLs
      [2] /BASE (Base Address)

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes