JuliaRandom / Random123.jl

Julia implementation of Random123.
http://juliarandom.github.io/RandomNumbers.jl/stable/man/random123/
Other
18 stars 5 forks source link

Build crashes due to missing AEC intrinsic #8

Closed david-macmahon closed 3 years ago

david-macmahon commented 3 years ago

Building Random123 (v1.4.0) crashes for me on an x86_64 system withOUT aes in the CPU flags (as seen in /proc/cpuinfo) with this error message:

LLVM ERROR: Cannot select: intrinsic %llvm.x86.aesni.aeskeygenassist

It builds fine for me on a system that does have aes in the CPU flags.

sunoru commented 3 years ago

Hi, thanks for reporting this. I didn't realize that the building process would just crash if the intrinsic was not found.

This should be fixed after https://github.com/JuliaRegistries/General/pull/38855 is merged. Sorry for the inconvenience.

david-macmahon commented 3 years ago

I have confirmed that this resolved the problem. Thanks!