microsoft / microsoft/vcpkg

[boost-context] build failure with arm64ec

Open
#52,270 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:port-bug
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

### Operating system

Windows on ARM64EC

### Compiler

MSVC

### Steps to reproduce the behavior

```Shell
{
"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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the named install-arm64ec-windows-release-rel-out.log and the boost-context build's applied marmasm.patch; the payload does not include the underlying compiler error. Reproduce the arm64ec-windows-release build using the reported vcpkg command, then verify that boost-context completes successfully on the ARM64EC triplet.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.