Skip to content

PGO amd64 build broken on Windows: "Internal compiler error" #130004

Closed
@hugovk

Description

@hugovk

Bug report

Bug description:

The Windows release build is failing for 3.14.0a5 for MSVC 14.42.34433 on AMD64:

Merging D:\a\1\b\bin\amd64\python314!1.pgc
         D:\a\1\b\bin\amd64\python314!1.pgc: Used 25.9% (16346384 / 63139840) of total space reserved.  0.0% of the counts were dropped due to overflow.
           Reading PGD file 1: D:\a\1\b\bin\amd64\python314.pgd
            Creating library D:\a\1\b\bin\amd64\python314.lib and object D:\a\1\b\bin\amd64\python314.exp
         Generating code
         
         0 of 0 ( 0.0%) original invalid call sites were matched.
         0 new call sites were added.
         261 of 16128 (  1.62%) profiled functions will be compiled for speed, and the rest of the functions will be compiled for size
     3>D:\a\1\s\Python\ceval.c(774): fatal error C1001: Internal compiler error. [D:\a\1\s\PCbuild\pythoncore.vcxproj]
         (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.cpp', line 253)
          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()+0xdab22
           link!InvokeCompilerPass()+0xdab22
           link!InvokeCompilerPass()+0xda884
           link!InvokeCompilerPass()+0xd76f7
           link!InvokeCompilerPass()+0xd75fc
           link!InvokeCompilerPassW()+0xf25bd
         
     3>Done Building Project "D:\a\1\s\PCbuild\pythoncore.vcxproj" (Build target(s)) -- FAILED.
     1>Done Building Project "D:\a\1\s\PCbuild\pcbuild.proj" (Build target(s)) -- FAILED.

Build FAILED.

       "D:\a\1\s\PCbuild\pcbuild.proj" (Build target) (1) ->
       "D:\a\1\s\PCbuild\pythoncore.vcxproj" (Build target) (3) ->
       (Link target) -> 
         D:\a\1\s\Python\ceval.c(774): fatal error C1001: Internal compiler error. [D:\a\1\s\PCbuild\pythoncore.vcxproj]

    0 Warning(s)
    1 Error(s)

https://dev.azure.com/Python/cpython/_build/results?buildId=159104&view=logs&j=b9a7e24a-1d9b-5019-7703-8e6075dba299&t=339e554d-d1e3-55db-ce3b-12a33950552a

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions