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 — When building with PGO in Cygwin, the gcov profiling library is missing · Issue #149124 · python/cpython

When building with PGO in Cygwin, the gcov profiling library is missing #149124

New issue
Copy link
New issue
Copy link
Open
Open
When building with PGO in Cygwin, the gcov profiling library is missing#149124
Copy link
Labels
OS-unsupportedbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@TrueCat17
TrueCat17
opened on Apr 29, 2026
Issue body actions

Bug report

Bug description:

When I run ./configure --enable-optimizations (for Profile Guided Optimization) with my gcc of Cygwin (old, win7 32-bit), I'm getting errors due to unspecified library gcov
The instruction export LIBS="-lgcov" before this command solves the problem
I think this lib should be enabled by default with PGO building

My CPython version: 3.14.4

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Activity

  1. TrueCat17
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 29, 2026
  2. StanFromIreland
    added
    buildThe build process and cross-buildThe build process and cross-build
    OS-unsupported
    on Apr 29, 2026
  3. github-project-automation
    added this to Unsupported platformson Apr 29, 2026
  4. vstinner
    added a parent issue on May 15, 2026
    • Enhance Cygwin support #149879
  5. carlo-bramini commented on May 23, 2026

    @carlo-bramini
    carlo-bramini
    on May 23, 2026
    Contributor
    More actions

    This failure happens also on the latest 64bit version of Cygwin.
    However, the solution is not adding -lgcov to the libraries.
    Try to configure with this command:

    ./configure --enable-optimizations CFLAGS="--coverage" LDFLAGS="--coverage"
    

    and you will see that the build process will work this time.
    This issue happens because Cygwin and MinGW use PE executables and undefined symbols are not allowed.
    This flag need to be used somewhere, but at the moment I have no idea what's the best place for adding it.

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-unsupportedbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • Unsupported platforms
      Status
      No status
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — 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.