Re: [committed] libstdc++: Support getentropy and arc4random in std::random_device

2021-11-09 Thread Jonathan Wakely via Gcc-patches
On Fri, 5 Nov 2021 at 18:22, Jonathan Wakely wrote: > Oops sorry - this is NOT committed yet. I won't push it until I've tested > it on at least one BSD, preferably OpenBSD so I can test parts of the new > code. > It got tested on darwin, and has been pushed to trunk now. > > > On Fri, 5 Nov 2

[committed] libstdc++: Support getentropy and arc4random in std::random_device

2021-11-09 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux, and Iain Sandoe tested the arc4random code on darwin too. Pushed to trunk. This adds additional "getentropy" and "arc4random" tokens to std::random_device. The former is supported on Glibc and OpenBSD (and apparently wasm), and the latter is supported on various BSDs. libstd

Re: [committed] libstdc++: Support getentropy and arc4random in std::random_device

2021-11-05 Thread Jonathan Wakely via Gcc-patches
Oops sorry - this is NOT committed yet. I won't push it until I've tested it on at least one BSD, preferably OpenBSD so I can test parts of the new code. On Fri, 5 Nov 2021 at 18:21, Jonathan Wakely via Libstdc++ < libstd...@gcc.gnu.org> wrote: > This adds additional "getentropy" and "arc4random

[committed] libstdc++: Support getentropy and arc4random in std::random_device

2021-11-05 Thread Jonathan Wakely via Gcc-patches
This adds additional "getentropy" and "arc4random" tokens to std::random_device. The former is supported on Glibc and OpenBSD (and apparently wasm), and the latter is supported on various BSDs. I'm trying to test this on OpenBSD but I can't bootstrap GCC using the system clang. libstdc++-v3/Chan