sceNand_driver: NID 0xC478C1DE is imported twice (placeholder left after 71fb45a)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 77/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- c
- 领域
- embedded-iot
调研方向
阅读 src/nand/sceNand_driver.S 和 src/nand/Makefile.am,确认重复的导入项和对象条目。检查 pspnand_driver.h 中的声明并构建 libpspnand_driver,以验证重复符号已消失,同时 sceNandReadPagesRawAll 仍然存在;检查任何构建或测试输出,查看是否有回归。
由索引模型根据 Issue 内容生成。
描述
src/nand/sceNand_driver.S declares NID 0xC478C1DE twice (at 687501d):
- line 51, block
F_sceNand_driver_0015:IMPORT_FUNC "sceNand_driver",0xC478C1DE,sceNand_driver_C478C1DE - line 126, block
F_sceNand_driver_0040:IMPORT_FUNC "sceNand_driver",0xC478C1DE,sceNandReadPagesRawAll
The second entry was added in 71fb45a ("add missing stub"), but the older placeholder entry was not removed. So both objects build a stub for the same import, and libpspnand_driver ends up with two symbols for one function.
A likely fix is to drop the F_sceNand_driver_0015 block and its object from src/nand/Makefile.am, keeping sceNandReadPagesRawAll. Nothing in the tree uses the placeholder name: pspnand_driver.h:36 declares only sceNandReadPagesRawAll. Out-of-tree code that calls sceNand_driver_C478C1DE would need the rename.
This came up while comparing PSPSDK's import stubs against the NID table of another project (Nakagawa Recomp). The report was written with AI assistance (Claude Code), and the two lines above are quoted from the tree.
- 主要语言
- C
- 星标
- 1.2k
- 派生
- 190
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 8
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pspdev/pspsdk 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
msys2/MINGW-packages#33356 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
kmod-project/kmod#492 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
PecanProject/sipnet#435 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
libsdl-org/SDL#16670 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100