https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100444
--- Comment #2 from Edward Cree <ecree429 at virginmedia dot com> --- (In reply to Richard Biener from comment #1) > Isn't this worked around at kernel level by disabling RDRAND support on > affected CPUs? Not sure. I wondered if it might be, so I straced the process and it didn't seem to be making a system call, i.e. it's using the RDRAND instruction directly. >From the kernel docs on nordrand: > [X86] Disable kernel use of the RDRAND and > RDSEED instructions even if they are supported > by the processor. RDRAND and RDSEED are still > available to user space applications. But I suppose it might affect the vdso, or something else the lib uses to detect whether RDRAND is present. I've added nordrand to my kernel cmdline, so next time I reboot I'll be able to test this; idk when that'll be, though.