Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libcrypto: Illegal instruction ``pshufb'' on non-sse3 CPU
On Thu, May 21, 2015 at 07:35:52PM +0200, Martin Husemann wrote:
> On Wed, May 20, 2015 at 11:04:43PM +0200, Joerg Sonnenberger wrote:
> > On Tue, May 19, 2015 at 03:45:10AM +0200, Timo Buhrmester wrote:
> > > As of late, when building (and installing) -head I end up with a
> > > libcrypto causing SIGILL, apparently due to using the ``pshufb''
> > > instruction (which I believe is part of the SSE3 extension).
> >
> > Please try the attached patch.
>
> What is the test case?
> I have a machine that SHOULD be affected, but can't make it die on SIGILL.
For SHA1, "openssl speed sha" runs the code. Note that the unpatched
code will randomly execute a branch depending on the in-memory offset.
PaX might help.
Joerg
Home |
Main Index |
Thread Index |
Old Index