Details
-
Task
-
Resolution: Unresolved
-
Minor
-
None
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.