https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124811

--- Comment #3 from Michael Lloyd <michael at micl dot dev> ---
Created attachment 64173
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64173&action=edit
fixes the .debug_line_str non-determinism by sorting entries before output

The attached patch fixes the .debug_line_str non-determinism by sorting
entries before output:

  Before patch (setarch -R, -j8): 101/475 .o files differ
  After patch  (setarch -R, -j8):   0/475 .o files differ

This is just a demonstration/fix that probably doesn't address the 
core issue, but it should give someone with more knowledge a lead 
as to why PCH is non-deterministic even without ASLR.

Reply via email to