[Mesa-dev] [Bug 100073] Shader Disk Cache 32/64 bit detection has a flaw. Missed existence of x32 ABI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 8 02:16:14 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100073

--- Comment #9 from oiaohm at gmail.com ---
Jan Vesely
<b>If the pointer size is the same and the timestamp is the same, the cache
will be reused, not deleted, and the problem does not exist.</b>

I have a little problem. I have x32 and i386.   So pointer size is the same
timestamp and contents of cache should be different.   This will happen if I am
running a reproducible build with frozen time.   This can also happen if you
make to 64 library builds with frozen time because the two builds will have the
same timestamps even if they are completely different versions of mesa
incompatible disc cache requirements.

https://reproducible-builds.org/docs/timestamps/

The reason I provided this link is time is no longer trust-able as a unique
value.  Do note the usage of libfaketime its really simple to forget you still
have that loaded after doing a reproducible build so the clock is not in fact
ticking forwards for anything you are doing you wake up when you finally do
something that is dependant on the clock in fact ticking.   So you need to look
at other sources to get unique value.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170308/1e5d947e/attachment.html>


More information about the mesa-dev mailing list