Re: __RDSEED__ defined, but no _rdseed* prototypes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 24, 2015 at 1:59 PM, Jeffrey Walton <noloader@xxxxxxxxx> wrote:
> Hi Everyone,
>
> I'm performing a round of testing on Ubuntu 14.03.3 server. The
> physical machine has an Intel Core 5th gen (i5-5300U) with the
> Broadwell chipset, which means it has RDRAND and RDSEED. cat'ing
> cpuinfo confirms:
>
>     ...
>
> Any ideas what I should do next?

The issue was I used I only used the `ifdef __has_include` test for
<x86intrin.h>. That's a GCC 5.0 feature.

I needed to test for GCC 4.6 and above to determine when to include
<x86intrin.h>.

Jeff



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux