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

Re: qemu-m68k and prlimit64 - segfaults




Le 20/11/2015 15:09, John Paul Adrian Glaubitz a écrit :
> On 11/20/2015 03:07 PM, Geert Uytterhoeven wrote:
>>> Now, my question is: Is prlimit64 supposed to be used on 32-bit hardware
>>> at all or might this be the result of ruby2.2 being compiled on
>>> qemu-m68k on an amd64 host?
>>
>> How does ruby configure itself?
>> I guess it detected that the build host implements prlimit64, and thus
>> enabled its use.
> 
> So, from your question I assume prlimit64 is not supposed to be present
> in an m68k binary? I'll check what ruby does during configure.

As the prlimit64 syscall number is defined in m68k linux includes, it is
defined in qemu and thus it is allowed and managed. I don't understand
why it doesn't work on real machine. What is the kernel version used ?

Laurent


Reply to: