Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PGO build broken on Windows #111786

Closed
Closed
Assignees
mdboom
Labels
OS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@mdboom

Description

@mdboom

Bug report

Bug description:

Building with --pgo on Windows seems to be broken on main (853b4b5).

Myhunch, since this is failing inceval.c, is that the recentmerge of the Tier 1 and Tier 2 interpreters may have made the interpreter loop function too large for MSVC to handle.

Build command:

PCbuild\build.bat --pgo -c Release

Error:

Merging C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\amd64\python313!1.pgc  C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\amd64\python313!1.pgc: Used 25.9% (15643384 / 60370944) of total space reserved.  0.0% of the counts were dropped due to overflow.    Reading PGD file 1: C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\amd64\python313.pgd     Creating library C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\amd64\python313.lib and object C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\amd64\python313.exp  Generating code    0 of 0 ( 0.0%) original invalid call sites were matched.  0 new call sites were added.  257 of 14721 (  1.75%) profiled functions will be compiled for speed, and the rest of the functions will be compiled for sizeC:\actions-runner\_work\benchmarking\benchmarking\cpython\Python\ceval.c(669): fatal error C1001: Internal compiler error. [C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\pythoncore.vcxproj]  (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 224)   To work around this problem, try simplifying or changing the program near the locations listed above.  If possible please provide a repro here: https://developercommunity.visualstudio.com/   Please choose the Technical Support command on the Visual C++    Help menu, or open the Technical Support help file for more information    link!InvokeCompilerPass()+0x10e636    link!InvokeCompilerPass()+0x10e636    link!InvokeCompilerPass()+0x10e373    link!InvokeCompilerPass()+0x10b310    link!InvokeCompilerPass()+0x10b215    link!InvokeCompilerPass()+0x102cea  Build FAILED.

Complete build log

We don't currently have a buildbot that builds with --pgo on Windows -- probably something to fix as well.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked issue

Microsoft Developer Community MSVC bug report

Linked PRs

Metadata

Metadata

Assignees

Labels

OS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp