Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hugovk opened this issue Feb 11, 2025 · 1 comment
Closed

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

hugovk opened this issue Feb 11, 2025 · 1 comment
Labels
OS-windows release-blocker type-bug An unexpected behavior, bug, or error

Comments

@hugovk
Copy link
Member

hugovk commented Feb 11, 2025

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

@Fidget-Spinner
Copy link
Member

Should be fine. The other issue can try guard it on a specific MSVC version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows release-blocker type-bug An unexpected behavior, bug, or error
Projects
Development

No branches or pull requests

2 participants