Originally posted by mdedetrich
View Post
A physical analog is diesel engines. The original diesel cars can run on both modern fossil-based diesel fuel at the pump as well as straight vegetable oil. Meanwhile, modern diesel vehicles can only operate on the modern stuff. In this analogy, the old tech has wider compatibility without really hindering the new stuff.
So - seeing as there's two distinct functions in zlib (crc32 and crc32_z), why can't both exist in the code and are just called upon as needed? Mesa could still have zlib 1.2.9 as a minimum dependency but in keeping crc32, SPEC can still run.
Of course, having not worked with the code for zlib (or Mesa), there may be a reason why both crc32 and crc32_z can't exist, I just find it a little odd that this is the case since they have distinct names.
Comment