`pass` test failures on 32-bit systems
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, python, wasm
- 领域
- compilers, testing-qa
调研方向
使用提供的 CMake、Ninja 和 check.py 命令复现该失败,然后检查 passes/O_fast-math.wast 和 passes/optimize-instructions-mvp.wast,重点关注其中的 NaN CHECK 行。当两个 pass 测试都在 32 位构建中产生预期的 NaN 值时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When running
cmake -G Ninja -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_C_FLAGS="-m32" -DCMAKE_BUILD_TYPE=Debug .
ninja
python3 check.py lit
I get test failures in passes/O_fast-math.wast and passes/optimize-instructions-mvp.wast. Both tests give the wrong NaN:
$ "filecheck" "/usr/local/google/home/stevenfont/code/binaryen/test/lit/passes/O_fast-math.wast"
# command output:
/usr/local/google/home/stevenfont/code/binaryen/test/lit/passes/O_fast-math.wast:41:17: error: CHECK-NEXT: expected string not found in input
;; CHECK-NEXT: (f32.const -nan:0x23017a)
^
<stdin>:19:1: note: scanning from here
(f32.const -nan:0x63017a)
^
error: command failed with exit status: 1
- 主要语言
- WebAssembly
- 星标
- 8.7k
- 派生
- 893
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 79
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WebAssembly/binaryen 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
WebAssembly/binaryen#9185 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
WebAssembly/binaryen#9135 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 76/100
WebAssembly/binaryen#9018 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
WebAssembly/binaryen#9186 ·
维护者通常 1 天内回复
-
LoopInvariantCodeMotion: `struct.new` is hoisted out of a loop, so all iterations share one object未关闭
难度 3/5 1-2 天 新手友好度 68/100
WebAssembly/binaryen#9184 ·
维护者通常 1 天内回复
查看 WebAssembly/binaryen 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
todo:ticket
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug
难度 2/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
bug engine spec compliance
难度 2/5 1-3 小时 新手友好度 84/100
frostney/GocciaScript#1402 ·
维护者通常 1 天内回复
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复