Potential issue with strstr on x86 with sse4.2 in glibc-2.18
Alexander Monakov
amonakov@ispras.ru
Mon Aug 19 17:34:00 GMT 2013
On Mon, Aug 19, 2013 at 9:05 PM, Rich Felker <dalias@aerifal.cx> wrote:
> Yes, by default, but just because the default is -march=i486. This is
> not needed to avoid SSE alignment bugs, though, because GCC preserves
> the stack alignment mod 16 anyway unless you override that behavior.
I think sufficiently old GCC will not align mod 16. Incidentally, I
guess this is why this failure is observed: fglrx folks need to
produce a binary driver that works on ancient distros, and an easy way
to achieve that is to compile it on an ancient distro with an ancient
userland (and GCC) in the first place.
More information about the Libc-alpha
mailing list