[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 6 14:22:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419
--- Comment #41 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-06 14:17:18 UTC ---
Ah, actually not completely, the
#if defined __i386__ || defined __x86_64__ && defined _GLIBCXX_X86_RDRAND
line in your patch is wrong, there should be () like in the other two
preprocessor conditionals.
--- Comment #42 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-06 14:20:15 UTC ---
Sorry if I'm saying something naive - I didn't follow the whole discussion -
but I don't understand why - assuming indeed we want to do something at
configure time - are being attached patches directly touching
libstdc++-v3/configure* files, instead of acinclude.m4 (to be processed by
autoreconf), which is the normal way we write this kind of code in the
libraries.
More information about the Gcc-bugs
mailing list