boostorg / boostorg/math

Compile failure with PCH on MSVC for ARM

Open
#1,460 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
374
Forks
264
Avg merge
1d 23h
Merged PRs (30d)
17

Description

I see downstream failures on CI using the GHA windows-11-arm runner: https://github.com/boostorg/random/actions/runs/34051005391/job/101534518823?pr=157

```
2026-09-06T18:24:34.2418803Z assoc_laguerre.cpp
2026-09-06T18:24:34.2421303Z c1xx: error C3859: Failed to create virtual memory for PCH
2026-09-06T18:24:34.2425018Z c1xx: note: PCH: Unable to get the requested block of memory
2026-09-06T18:24:34.2452229Z c1xx: note: consider using /Fp to allow the compiler to reserve the memory early
2026-09-06T18:24:34.2462618Z c1xx: note: please visit https://aka.ms/pch-help for more details
2026-09-06T18:24:34.2507344Z c1xx: fatal error C1076: compiler limit: internal heap limit reached
```

Intel is also failing: https://github.com/boostorg/random/actions/runs/34051005391/job/101534519645?pr=157
But that seems like a B2 issue

Maybe update the GHA CI to use the Boost.CI reusable workflow to get more configurations tested.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.