Has anyone had success in building and running cryptopp 5.2.1 on AIX 5.1

 

I’m using gcc version 3.4.3 and the default AIX ld and as.

 

When I compile cryptopp and cryptest.exe, I get errors about multiply defined symbols but I’ve seen in other newsgroups that this is OK.

When I run cryptest.exe v, I’m getting a core dump almost immediately. I tracked it down to the line GlobalRNG().Put((const byte*)seed, strlen(seed)) in the Validate function of test.cpp – in fact it looks like the error occurs when calling Put2 from the Put function above.

 

I rebuilt and removed the –fdata-sections and –ffunction-sections from the build. Now it seems to run through the first few tests and crashes in the Panama validation suite

 

I then ran the tests individually and all of the following crash –

 

DES - Illegal instruction

IDEA - Illegal instruction

RC5 - Illegal instruction

Blowfish – segmentation violation

ThreeWay - Illegal instruction

DH - Illegal instruction

RSA - Illegal instruction

ElGamal - Illegal instruction

DSA - Illegal instruction

SAFER - Illegal instruction

LUC - Illegal instruction

Rabin - Illegal instruction

 

etc etc etc

 

Any ideas ?

 

 

Thanks

 

Mark Johnson

 

Reply via email to