让我们来了解一下比特币核心的日常开发工作: “跨架构不确定性导致汇编代码中与 __builtin_dynamic_object_size 相关的差异,这种情况仅在 FORTIFY_SOURCE=3(而非=2)时出现,并且编译时的第一个差异发生在 GCC 的 objsz1 阶段”。
本文为机器翻译
展示原文

Michael Ford
@fanquake
12-05
Another case of cross-architecture non-determinism. Running a Windows cross-compiler, on x86_64 and aarch64, produces this difference in assembly, from the following (minified) code. Running on riscv matches x86_64. Noticed while updating our release compiler from GCC 13 to 14.


来自推特
免责声明:以上内容仅为作者观点,不代表Followin的任何立场,不构成与Followin相关的任何投资建议。
喜欢
收藏
评论
分享



