[Pkg-openssl-devel] Openssl Error at -- OPENSSL_cpuid_setup ()

Kurt Roeckx kurt at roeckx.be
Tue May 7 16:01:38 UTC 2013


If you want to disable it at build time, you need to edit
crypto/armcap.c and make OPENSSL_cpuid_setup only set
OPENSSL_armcap_P to the value you want.

Note that it's a bitmask, which currently has those possible
values:
#define ARMV7_NEON      (1<<0)
#define ARMV7_TICK      (1<<1)

So I think you want to set it to 0.


Kurt

On Tue, May 07, 2013 at 09:26:54AM +0530, allan George wrote:
> Thanks Tim,
> 
> Is it possible to disable this error at the time when i .. compile openssl
> .. i.e at MAKE time. Or it is an runtime configuration ?
> 
> Actually i have cross compiled openssl for RPi raspberry pi . Which is
> ARMv6 architecture. Also as per this link :--
> http://archlinuxarm.org/forum/viewtopic.php?f=15&t=1694&start=20
> 
> If you are on an armv6 platform: export OPENSSL_armcap=6
> 
> So i think i should set it to 6 ?
> 
> //Allan
> 
> On Mon, May 6, 2013 at 5:48 PM, Tim Hudson <tjh at cryptsoft.com> wrote:
> 
> >  Try setting the environment variable OPENSSL_armcap=0 to disable that
> > code.
> >
> > The code in OPENSSL_cpuid_setup assumes it can trap SIGILL and continue if
> > the instruction is unable to be performed.
> > You can just continue in gdb and the handler in OPENSSL_cpuid_setup should
> > let it through - and that should function correctly.
> >
> > You would normally (for this) use something like the following in gdb to
> > let that happen:
> >
> > handle SIGILL pass
> >
> > Tim.
> >
> >
> >
> > On 6/05/2013 10:09 PM, allan George wrote:
> >
> > Package: openssl
> > Version: 1.0.1e
> > Version: 1.0.0g
> >
> >
> >  I am also facing some problem with openssl. I tried both
> > openssl-1.0.1e.tar.gz
> > openssl-1.0.0g.tar.gz
> >
> >  I have mentioned my problem here :---
> > http://stackoverflow.com/questions/16393414/how-to-get-rid-of-openssl-error
> >
> >  Is it possible to resolve this problem ? Or problem is with Raspbian
> > package ?
> >
> >  Please suggest.
> >
> >  //Allan
> >
> >
> >
> > _______________________________________________
> > Pkg-openssl-devel mailing listPkg-openssl-devel at lists.alioth.debian.orghttp://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-openssl-devel
> >
> >
> >

> _______________________________________________
> Pkg-openssl-devel mailing list
> Pkg-openssl-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-openssl-devel




More information about the Pkg-openssl-devel mailing list