[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] ARM: timedelta # of days is too large: 1000000000
From: |
Nerijus Baliunas |
Subject: |
Re: [Qemu-discuss] ARM: timedelta # of days is too large: 1000000000 |
Date: |
Mon, 2 Jul 2018 15:41:49 +0300 |
On Mon, 2 Jul 2018 13:36:41 +0100 Peter Maydell <address@hidden> wrote:
> > File "/usr/lib/python3.6/datetime.py", line 447, in __new__
> > raise OverflowError("timedelta # of days is too large: %d" % d)
> > OverflowError: timedelta # of days is too large: 1000000000
> >
> > I found in https://github.com/CopterExpress/clever/issues/21 that it is
> > "error between Python and C type conversion on use qemu-static interpreter.
> > The number 999999999 is rounded to 1000000000."
>
> Your use case is not using qemu-static, it's using the system emulation
> mode. It does look like it's a similar thing you're hitting though.
>
> Could you please try this with a newer version of QEMU?
> (ideally, try with current head of git; we fixed some floating
> point emulation issues recently.)
I have qemu-2.12.0-0.5.rc1.fc28.x86_64 from fedora-virt-preview repo.
> Presumably this code works on real arm hardware ?
I don't know. But it worked on earlier qemu (F26, probably F27).
Regards,
Nerijus