Cryptopp when centos4.8 segmentation fails when connecting to pthread

I have a program compiled and run on centos4.8. I downloaded and compiled cryptopp 5.6.2 into a static library. When I run the test program, I get a segmentation error when called

CTR_Mode< AES >::Encryption e;
e.SetKeyWithIV( key, key.size(), ctr ); // segmentation fault here

I can recreate this in a small program. If I contact libpthread.a, I get an error, if I do not contact it, the program works as expected.

My application depends on the connection with pthread, so I hope to find a way to compile cryptopp compatible. Thanks you

+2
source share
1 answer

It seems so...

CentOS 4.8 gcc 3.4.6 cryptopp #define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION . , - !

+1

All Articles