http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419
--- Comment #20 from Ulrich Drepper <drepper.fsp at gmail dot com> 2012-09-04 01:06:33 UTC --- Created attachment 28127 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28127 Check for rdrand availability How about this patch? Not sure whether this handles cross-compiling. It seems to work for me. I still think it's wrong to bother with obsolete assemblers...