This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Potential issue with strstr on x86 with sse4.2 in glibc-2.18


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]