[gnutls-devel] Deconstructor deadlock

Ludovic Courtès ludo at gnu.org
Thu Jul 28 11:25:32 CEST 2016


Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com> skribis:

> On Wed, 2016-07-27 at 22:32 +0200, Ludovic Courtès wrote:
>> Hello,
>
>
>       4478:	/home/ludo/src/gnutls/+build/lib/.libs/libgnutls.s
>> o.30: error: symbol lookup error: undefined symbol: getrandom (fatal)
>>       4478:	
>>       4478:	calling fini:
>> /home/ludo/src/gnutls/+build/lib/.libs/libgnutls.so.30 [0]
>> --8<---------------cut here---------------end--------------->8---
>
> Thanks for the report. That's quite strange though. I would have
> expected configure to detect that getrandom was not available in that
> system. Is it a binary configured in a different system than being run?
> If not what is the output of config.log near the "checking for
> getrandom" lines?

Here I fiddled with rnd-linux.c, but that would be the subject of
another report.  :-)

> For the deadlock, it may be a good idea to remove all locking when
> called at the constructor. There is no concurrency there.

Definitely.

Thanks,
Ludo’.



More information about the Gnutls-devel mailing list