osu-crypto / libPSI

A repository for private set intersection.
Other
168 stars 47 forks source link

An Illegal instruction (core dumped) Error #62

Closed yangchunmian123 closed 1 year ago

yangchunmian123 commented 1 year ago

Hi Professor, I'm having the following problem with my unit tests after compiling, I can't figure out why this is happening, can you please help me?

image

Also, I thought that a problem with a tool might not affect the operation of certain protocols, so I ran the following command and got the following error.

image

I don't know what's wrong, do you have any ideas please?

ladnir commented 1 year ago

Bitpolymul requires CPUs with sse2. It appears your system does not have this.

yangchunmian123 commented 1 year ago

Thank you very much, Professor, this is a question I hadn't thought of. But I checked the CPU model of my device which has the sse2 instruction set.

image

This has given me new ideas to solve the problem, but I don't know what instruction sets are required for this project. Also, I was able to successfully compile the libOTe project but was unable to unit test it and then reported the same error, so I don't know if this information would be helpful in troubleshooting the problem.

image

yangchunmian123 commented 1 year ago

Hi Professor, I changed the device to perform this project and it probably worked, the problem seems to be really in the CPU, thank you very much Professor!