[CRIU] [PATCH 10/20] cr-restore.c: introduced the multiarch support.

Pavel Emelyanov xemul at parallels.com
Fri Dec 14 02:40:05 EST 2012


On 12/12/2012 08:50 PM, Alexander Kartashov wrote:
>> Wait, Alexander, is there such type as "long long int" on ARM machines?
> 
> Yes, and it's 64-bit long. PRix64 is defined as "%llx" on ARM.

The %Lx may work. It accepts unsigned long long which should be 64 bit on
both, 32 and 64 bit arches.

> On 12/12/2012 08:48 PM, Cyrill Gorcunov wrote:
>> On Wed, Dec 12, 2012 at 08:28:48PM +0400, Alexander Kartashov wrote:
>>>> WTF is that? It's just unsigned long printing, why this ugly format hacks?!
>>> Unfortunately, almost all format strings have to be fixed in this way.
>>> In this case vma->vma.start is 64-bit long but %lx on ARM expects
>>> 32-bit interger.
>> Wait, Alexander, is there such type as "long long int" on ARM machines?
>>
>> 	Cyrill
> 
> 




More information about the CRIU mailing list