[graalvm-users] Trying to run pgbouncer on GraalVM/Sulong

Roland Schatz roland.schatz at oracle.com
Mon Jul 2 09:20:53 PDT 2018


Hi,

On 07/02/2018 04:31 PM, Alvaro Hernandez wrote:
>
>
> On 02/07/18 17:28, Roland Schatz wrote:
>> Hi Álvaro,
>>
>> Thanks for the bug report. This is indeed a problem in Sulong. The
>> problem is that the `SYS_getrandom` syscall is not implemented in 
>> Sulong.
>> Supporting this syscall should be easy (at least on Linux). I'll look
>> into that.
>>
>>
>> I have no idea how a direct syscall invocation ended up in the code,
>> normally this goes through the `getrandom` libc function. There may be
>> some explicit inlining going on. But regardless of how the syscall got
>> there, we should of course support it.
>>
>>
>> - Roland
>
>     Awesome! Good to know it is a bug, feedback helped, and that it 
> can be tackled down. Please let mw know if you had a patch, I'd be 
> happy to test it :)

I created a pull request that should fix this problem. Please let me 
know if it works for you.

- Roland

>
>
>     Thanks,
>
>     Álvaro
>
>




More information about the GraalVM-Users mailing list