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

Windows DLL base addresses must be adjusted for 64-bit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.10.1
    • 5.9.4, 5.10
    • Build System
    • 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

            jbornema Joerg Bornemann
            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