This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419

--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-04 15:53:20 UTC ---
Why do you talk about clang?  This has nothing to do with it.  And, there is
already runtime check for whether RDRAND can be used in random.cc (though,
apparently insufficient for i?86 - it should use either __get_cpuid, or
__get_cpuid_max before __cpuid).  Not sure if on x86_64 it is guaranteed that
max basic level is always >= 1, if not, it also needs to test __get_cpuid_max.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]