On Thu, Sep 06, 2012 at 03:22:10PM -0400, Jack Howarth wrote: > The attached patch eliminates the bootstrap failures in libstdc++-v3 > of PR 54419 by having configure check for assembler support of the new > rdrand opcode and defining _GLIBCXX_X86_RDRAND in config.h if supported. > Tested on x86_64-apple-darwin12 against the assembler from Xcode 4.4.1. > Okay for gcc trunk?
Paolo requested in the PR that instead we define a new AC_DEFUN([GLIBCXX_CHECK_X86_RDRAND], [ ... ]) (or similar) in libstdc++-v3/acinclude.m4 and add just GLIBCXX_CHECK_X86_RDRAND (or similar) line to libstdc++-v3/configure.ac. Jakub