Lets peek into some day to day Bitcoin Core development work "cross-architecture non-determinism producing a difference in assembly code related to __builtin_dynamic_object_size, only occurring with FORTIFY_SOURCE=3 (not =2), and the first difference in compilation occurs during GCCs objsz1 pass"

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.


Sector:
From Twitter
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
Add to Favorites
Comments
Share
Relevant content





