Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hacl-star test: Illegal instruction #66

Open
cassiersg opened this issue Jan 16, 2020 · 1 comment
Open

hacl-star test: Illegal instruction #66

cassiersg opened this issue Jan 16, 2020 · 1 comment

Comments

@cassiersg
Copy link

Following instructions of https://project-everest.github.io/, I get the following error at the ./everest test stage:

./curve64-ours.exe                                                                                                                                                                                                 
make[2]: *** [Makefile:35: curve64-ours.test] Illegal instruction (core dumped)                                                                                                                                    
make[2]: Leaving directory '/home/cassiersg/everest/hacl-star/tests'                                                                                                                                               
make[1]: *** [Makefile:974: test-handwritten] Error 2                                                                                                                                                              
make[1]: Leaving directory '/home/cassiersg/everest/hacl-star'
make: *** [Makefile:114: test-staged] Error 2
make: Leaving directory '/home/cassiersg/everest/hacl-star'

Opening the coredump with gdb, I get

Core was generated by `./curve64-ours.exe'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x00005601fb28d2ef in ?? ()

and

Cannot access memory at address 0x5601fb28d2ef

(Intel Core Processor (Haswell, no TSX, IBRS))

@msprotz
Copy link
Member

msprotz commented Jan 16, 2020

Unfortunately these tests are unconditionally enabled and are not gated on the presence of the required CPU features. If you have any way to submit a patch that would run the test if, say, OS is Linux and grep /proc/cpuinfo bmi2 adx is true, that would be super helpful.

Thanks,

Jonathan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants