https://bz.apache.org/bugzilla/show_bug.cgi?id=70237

            Bug ID: 70237
           Summary: "Invalid base address" linker error on windows arm64
           Product: Apache httpd-2
           Version: 2.4.68
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When trying to build httpd on Windows Arm64 (Visual Studio 2022 cmake
generator), the following linker error occurs:

    Generating Code...
       Creating library
C:/a/neko/neko/libs/src/Apache-build/RelWithDebInfo/libhttpd.lib and object
C:/a/neko/neko/libs/src/Apache-build/RelWithDebInfo/libhttpd.exp
LINK : fatal error LNK1355: invalid base address 0x6FF00000; ARM64 image cannot
have base address below 4GB
[C:\a\neko\neko\libs\src\Apache-build\libhttpd.vcxproj]
[C:\a\neko\neko\libs\Apache.vcxproj]


The base addresses are hardcoded here:
https://github.com/apache/httpd/blob/trunk/os/win32/BaseAddr.ref

And that file is applied here:
https://github.com/apache/httpd/blob/7b93fd7027accbd3d2bfe9d482b5fd31ab4397db/CMakeLists.txt#L967

I suppose a different set of base addresses would have to be used for the arm64
build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to