https://sourceware.org/bugzilla/show_bug.cgi?id=31761
--- Comment #2 from Peter Damianov <peter0x44 at disroot dot org> --- I see. Ideally, ld wouldn't be doing that. One option could be outputting to a temp file, and then renaming it after linking finishes successfully. I'll try taking a look at what mold does for this case. -- You are receiving this mail because: You are on the CC list for the bug.