[Pkg-openssl-devel] Bug#699692: Bug#699692: "Illegal instruction" when installing (creating certificate) with Wheezy's version 1.0.1c-4 of openssl on a system with Cyrix MII / IBM 6x86

Kurt Roeckx kurt at roeckx.be
Sun Feb 3 20:05:15 UTC 2013


On Sun, Feb 03, 2013 at 05:47:35PM +0100, Hans-Juergen Mauser wrote:
> Package: openssl
> Version: 1.0.1c-4
> 
> Hello!
> 
> When trying a new Wheezy install on a machine with Cyrix MII /  IBM
> 6x86 CPU, openssl cannot complete it's install routine because the
> creation of the default certificate fails reproducibly ith the
> result "illegal instruction".
> 
> It seems as if the package is compiled with some optimisation not
> suitable for regular Pentium machine.

libssl is actually compiled 3 times.  Ones for the default
architecture which is i486, once for i586, and once for
i686 with cmov.  The dynamic linker should pick up the correct
one.

Can you verify that which version you pick up?  You can see this
with:
ldd /usr/bin/openssl

Can you also show /proc/cpuinfo?

openssl also contains hand written assembler, which detects cpu
capabilities as well.  Maybe something is broken there.

In any case would it be useful if you could give information
about which function it was that has the problem.  Can you
install libssl1.0.0-dbg and run whatever you wanted to 
do from gdb and give me a backtrace?


Kurt



More information about the Pkg-openssl-devel mailing list