讓我們來了解一下比特幣核心的日常開發工作: “跨架構不確定性導致彙編代碼中與 __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相關的任何投資建議。
喜歡
收藏
評論
分享




