PDB error when compiling graal/substratevm/com.oracle.svm.native.libchelper
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 领域
- build-system
调研方向
从 mx 构建定义和为 graal/substratevm/com.oracle.svm.native.libchelper 生成的命令开始,尤其关注编译 cSunMiscSignal.c 的 cl 调用。使用并发 Windows 构建进行复现,并验证并行的 cl.exe 调用不再共享 vc140.pdb;重新运行 mx build,以确认编译完成且无需重试。
由索引模型根据 Issue 内容生成。
描述
When compiling graal/substractevm/com.oracle.svm.native.libchelper on Windows using latest Windows SDK I get this errors:
FAILED: cl -nologo -showIncludes -Ic:\graal\substratevm\src\com.oracle.svm.native.libchelper\include -Zi -O2 -D_LITTLE_ENDIAN -c c:\graal\substratevm\src\com.oracle.svm.native.libchelper\src\cSunMiscSignal.c -Fosrc\cSunMiscSignal.obj
c:\graal\substratevm\src\com.oracle.svm.native.libchelper\src\cSunMiscSignal.c: fatal error C1041: cannot open program database 'c:\graal\substratevm\mxbuild\windows-amd64\src\com.oracle.svm.native.libchelper\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
If I keep running mx build it will eventually work.
The issue is that ninja is trying to compile the files concurrently which causes cl.exe to try and output PDB to the same file (vc140.pdb).
Need to add /Fd option to cl.exe to avoid using same file.
- 主要语言
- Python
- 星标
- 205
- 派生
- 131
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graalvm/mx 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
Error while doing maven-install可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
pr-babysit: the validator reports only the hex part of the harvest fingerprint, so a launch stops review-report-unusable可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭follow-up
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Web download page shows a file as Completed when its download from S3 fails with an error response未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
awslabs/visual-asset-management-system#2097 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
openfoodfacts/openfoodfacts-python#573 ·
维护者通常 2 天内回复