News for hackers. Stuff that matters.
Re:Compromising OpenWrt Supply Chain by screcth on Monday December 09, 2024 @05:16PM (#42371157)
Why does an optimizing compiler introduce nondeterminism?

In my mind an optimizing compiler is a pure function that takes source code and produces an object file.

Re:Compromising OpenWrt Supply Chain by stevefan1999 on Monday December 09, 2024 @07:59PM (#42372476)
Well, lot of things can influence here. Multithreaded build, PGO, or even the different access order of the hash table inside the code optimizer can be a factor. Things are getting probalistic and thus somewhat nondeterministic: the build itself is nondeterministic but the runtime/final execution is deterministic