Skip to content

[boost-context] build failure with arm64ec #52270

@Vouk

Description

@Vouk

Operating system

Windows on ARM64EC

Compiler

MSVC

Steps to reproduce the behavior

{
  "name": "VoukoderPro",
  "version": "3.0.0",
  "dependencies": [
    "boost-beast",
    "boost-dll",
    "boost-filesystem",
    "boost-system",
    "boost-function",
    "boost-locale",
    "boost-log",
    "boost-uuid",
    "boost-nowide"
  ]
}

vcpkg integrate install
vcpkg install --triplet=arm64ec-windows-release --host-triplet=x64-windows --disable-metrics`

Failure logs

boost-context:arm64ec-windows-release@1.88.0 package ABI: 32721c15a742376751be57aeeb99a9826290d1367f17ae1030f20b5b64510c25
Building boost-context:arm64ec-windows-release@1.88.0...
D:\a\VoukoderPro\VoukoderPro.github\triplets\arm64ec-windows-release.cmake: info: loaded overlay triplet from here
C:\Users\runneradmin\AppData\Local\vcpkg\registries\git-trees\8d20de9b1b6f8a9a913d4b6356fd23fec0c906d6: info: installing from git registry git+https://github.com/microsoft/vcpkg@8d20de9b1b6f8a9a913d4b6356fd23fec0c906d6
Downloading https://github.com/boostorg/context/archive/boost-1.88.0.tar.gz -> boostorg-context-boost-1.88.0.tar.gz
Successfully downloaded boostorg-context-boost-1.88.0.tar.gz
-- Extracting source C:/vcpkg/downloads/boostorg-context-boost-1.88.0.tar.gz
-- Applying patch marmasm.patch
-- Using source at C:/vcpkg/buildtrees/boost-context/src/ost-1.88.0-ec1a1b465e.clean
-- Configuring arm64ec-windows-release
-- Building arm64ec-windows-release-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/vcpkg/downloads/tools/cmake-4.3.2-windows/cmake-4.3.2-windows-x86_64/bin/cmake.exe --build . --config Release --target install -- -v -j3
Working Directory: C:/vcpkg/buildtrees/boost-context/arm64ec-windows-release-rel
See logs for more information:
C:\vcpkg\buildtrees\boost-context\install-arm64ec-windows-release-rel-out.log

Call Stack (most recent call first):
D:/a/VoukoderPro/VoukoderPro/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
D:/a/VoukoderPro/VoukoderPro/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
D:/a/VoukoderPro/VoukoderPro/vcpkg_installed/x64-windows/share/vcpkg-boost/boost-install.cmake:64 (vcpkg_cmake_install)
C:/Users/runneradmin/AppData/Local/vcpkg/registries/git-trees/8d20de9b1b6f8a9a913d4b6356fd23fec0c906d6/portfile.cmake:14 (boost_configure_and_install)
scripts/ports.cmake:206 (include)

error: building boost-context:arm64ec-windows-release failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle boost-context:arm64ec-windows-release: 2.7 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-context
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bboost-context%5D%20build%20error%20on%20arm64ec-windows-release&body=Copy%20issue%20body%20from%20collapsed%20section%20%22issue_body.md%22%20in%20the%20ci%20log%20output
issue_body.md
install-arm64ec-windows-release-rel-out.log

Completed submission of boost-pool:arm64ec-windows-release@1.88.0 to 1 binary cache(s) in 52.7 ms
Error: Process completed with exit code 1.

Additional context

I'm in contact with Ron Riddle (and others) at Microsoft. I got my app compiled for Windows on ARM64 but two plugins are failing now. Ron told me I should go for ARM64X. But that brings quite alot of hassle with it. i.e. boost doesn't compile for arm64ec. He also provided me a patch file that I somehow would have to integrate in the build process of VCPGK. How do i do it? I'm building it on github actions.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-bugThe issue is with a library, which is something the port should already support

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions