Hi,
On 09/07/2012 04:02 PM, Jack Howarth wrote:
The attached patch eliminates the bootstrap failures in libstdc++-v3
of PR 54419 by adding a define to acinclude.m4, GLIBCXX_CHECK_X86_RDRAND, that
checks for assembler support of the new rdrnd opcode, using this new define
in configure.ac and also defining _GLIBCXX_X86_RDRAND in config.h if supported.
Tested on x86_64-apple-darwin12 against the assembler from Xcode 4.4.1.
Modified to utilize AC_MSG_CHECKING, AC_CACHE_VAL and AC_MSG_RESULT in
acinclude.m4.
Okay for gcc trunk?
From the library configury point of view the patch looks Ok to me, but
I didn't really follow the whole discussion. Jakub is it OK with you?
Thanks,
Paolo.