4 ms·
I cross compile my side-project program from 64 to 32-bit and then I noticed, it would crash when testing after updating linux The stacktrace said the crash ca
by benibela 4y ago
I cross compile my side-project program from 64 to 32-bit and then I noticed, it would crash when testing after updating linux
The stacktrace said the crash came from SSE memcpy. I did not bother investigating it, since I have no users anyways.
I had an really old CPU (like i5-520m). Perhaps the code required some SSE feature, it did not have
That was libc. I also use Pascal, which has its own memcpy implementation. A while ago, they discovered it does not handle alignment correctly. (like it would adjust by 4-i when it should have adjusted by i) I thought that is what I get when using Pascal rather than a more commonly used language, but apparently nothing works