When building with PGO in Cygwin, the gcov profiling library is missing
未关闭
还没有人认领这个 Issue。
build
OS-unsupported
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在报告的 Cygwin 设置上重现 ./configure --enable-optimizations,并检查 gcov 周边的 PGO 构建配置和链接器标志。当 PGO 构建无需手动导出 LIBS="-lgcov" 即可成功链接时,工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, python
- 领域
- build-system, performance
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100