just as an update for anyone who may find it useful. looking further, it turns out that the illegal instruction was LFS, the underlying PPC processor did not have FPU so had to turn on CONFIG_MATH_EMULATION for fpu emulation.
- basit On Fri, Mar 27, 2009 at 4:39 PM, ABDUL BASIT <ba...@basit.pk> wrote: > Hi Folks, > > I have compiled openssl fips 1.2 module by ./config fipscanisterbuild > no-asm; make; > Copied the fipscanister.o* and fips_premain.c.* in /fips/ and then compiled > openssl 0.9.8k with config options fips, no-asm > and fipslibdir=/fips/. > > when I am running fips_test_suite, it is giving Illegal instruction. > > --- > # ./fips_test_suite > FIPS-mode test application > > 1. Non-Approved cryptographic operation test... > Illegal instruction (core dumped) > --- > > This is a PowerPC platform, gcc version is 4.2.3. > > The compiler flags for 0.9.8k build used are :- > > gcc -I.. -I../include -I../fips -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS > -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DPURIFY -g -pipe -O3 > -ffunction-sections -fdata-sections -Wall -DTERMIO -c -o jpaketest.o > jpaketest.c > > any suggestions on where to look / investigate more? > > Thx in advance. > - basit > > > > >