[Bug debug/124811] Non-deterministic DWARF debug info (.debug_info, .debug_loclists) when using precompiled headers
michael at micl dot dev via Gcc-bugs <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124811 --- Comment #11 from Michael Lloyd <michael at micl dot dev> --- (In reply to Richard Biener from comment #10) > The fix probably easily picks to branches and I'd appreciate folks that ran > into the reported issue to evaluate if this is now fixed? Looks like the fix that was committed works, although the degree of differences has changed on my system. With the fix applied the builds become reproducible again. fix applied: 0/475 differ fix reverted: 3/475 differ (all in .debug_loclists) I did some A/B testing by building trunk at the fix commit then reverse applying the one hunk and relinking cc1plus, so the two compilers differ only by the fix. On a side note, I am no longer seeing the .debug_line_str ordering from comment 2, it didn't appear in any run. Perhaps same bug but the randomness introduced downstream was removed. Either way, the quickshell builds are fine now.