This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][revised] Fix PR bootstrap/54419
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, drepper at gmail dot com
- Date: Thu, 6 Sep 2012 21:32:12 +0200
- Subject: Re: [PATCH][revised] Fix PR bootstrap/54419
- References: <20120906192210.GA17313@bromo.med.uc.edu>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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