Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19056

MSVC ARM64 fails to create modules with a base address below 4GB

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Minor
    • None
    • Build System

    Description

      With any of the versions of MSVC set to the ARM64 target attempting to link any system file or DLL results in a similar error to the following:
      LINK : fatal error LNK1355: invalid base address 0x40000000; ARM64 image cannot have base address below 4GB

      This is a limitation made by the MSVC tools that doesn't have a real way around it. However this shouldn't matter for us, as currently our only way to start the ARM64 port involves UEFI which doesn't mind such a high base address. A good conversation about the subject occurred in stack overflow:
      https://stackoverflow.com/questions/64944350/what-is-the-process-for-generating-a-bare-metal-binary-with-msvc-tools

      In order for ReactOS to build arm64 ISOs we need to change the base addresses for ARM64 specifically or find a way to do it universally for our 64bit ports, as this would also fix the very similar warning spammed when compiling AMD64.

      Attachments

        Activity

          People

            Unassigned Unassigned
            The_DarkFire The_DarkFire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: