GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Free-threaded builds with PGO fail to build on Windows · Issue #123153 · python/cpython

Free-threaded builds with PGO fail to build on Windows #123153

New issue
Copy link
New issue
Copy link
Closed
Closed
Free-threaded builds with PGO fail to build on Windows#123153
Copy link
Labels
OS-windowstopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@mdboom
mdboom
opened on Aug 19, 2024
Issue body actions

Bug report

Bug description:

I don't consider this a high-priority bug, since free threading remains experimental, however it does prevent us from getting accurate benchmarking figures for free-threaded builds on Windows.

Building with

PCbuild\build.bat --pgo   --disable-gil -c Release

currently fails with an internal compiler error:

C:\actions-runner\_work\benchmarking\benchmarking\cpython\Python\ceval.c(761): 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

Full build log here

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

  • gh-123153: Fix PGO builds with free-threading on Windows #125607

Activity

  1. mdboom
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    OS-windows
    topic-free-threading
    on Aug 19, 2024
  2. colesbury commented on Aug 19, 2024

    @colesbury
    colesbury
    on Aug 19, 2024
    Contributor
    More actions

    Given that it's an Internal compiler error, maybe worth reporting the bug to Visual Studio?

  3. mdboom commented on Aug 19, 2024

    @mdboom
    mdboom
    on Aug 19, 2024
    ContributorAuthor
    More actions

    Given that it's an Internal compiler error, maybe worth reporting the bug to Visual Studio?

    Sorry, I should have said so, but I plan to.

  4. mdboom
    added 2 commits that reference this issue on Oct 16, 2024

    pythongh-123153: Fix PGO builds with free-threading

    d4f661e

    gh-123153: Fix PGO builds with free-threading on Windows (#125607)

    37986e8
  5. mdboom
    closed this as completedon Oct 18, 2024
  6. ebonnal
    added a commit that references this issue on Jan 12, 2025

    pythongh-123153: Fix PGO builds with free-threading on Windows (pytho…

    959c396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowstopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.