qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-4.1 0/7] Add qemu_getrandom and ARMv8.5-RNG


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH for-4.1 0/7] Add qemu_getrandom and ARMv8.5-RNG
Date: Wed, 13 Mar 2019 18:38:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Richard Henderson <address@hidden> writes:

> On 3/12/19 11:41 PM, address@hidden wrote:
>> time make address@hidden SHOW_ENV=1 J=14 NETWORK=1
>> === TEST SCRIPT END ===
>> 
>>   CC      hw/acpi/trace.o
>>   CC      hw/alpha/trace.o
>> /tmp/qemu-test/src/util/random.c: In function 'do_jrand48':
>> /tmp/qemu-test/src/util/random.c:41:15: error: implicit declaration of 
>> function 'jrand48'; did you mean 'do_jrand48'? 
>> [-Werror=implicit-function-declaration]
>>          val = jrand48(xsubi);
>
> Hmm, no jrand48 in mingw.  I assumed it would be there because of POSIX.
> Perhaps I should just bite the bullet and inline my own DRNG...

Have you considered GLib's?  Mersenne Twister under the hood.

https://developer.gnome.org/glib/stable/glib-Random-Numbers.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]