qemu-arm
[Top][All Lists]
Advanced

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

Re: [qemu-arm-static] timer_delete issue from Qemu 5.0.0 onwards


From: Jon Alduan
Subject: Re: [qemu-arm-static] timer_delete issue from Qemu 5.0.0 onwards
Date: Wed, 20 Jul 2022 14:54:58 +0200

Hi Peter,

thank you for your file and information. And I get the same wrong behavior (see below). Also with the dynamic qemu-arm version 7.0.50.
What does this mean? Do you see anything which could be different between our test environments? Kernel too new?
I am feeling frustrated. I have no more ideas, except that in fact, it is a bug in qemu. But if it cannot be reproduced on your side...

$:/home/jon/test_qemu_timer/peter# qemu-arm-static_ -version
qemu-arm version 5.2.0 (Debian 1:5.2+dfsg-9ubuntu3.3)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
$:/home/jon/test_qemu_timer/peter# qemu-arm-static_  /home/jon/test_qemu_timer/peter/timertest
Create timer 0 536880
Create timer 1 537928
Create timer 2 537944
Create timer 3 537960
Create timer 4 537976
thread0: started
thread0: saw 0 alarms from 0
thread1: started
thread2: started
thread3: started
thread4: started
thread5: started
thread6: started
thread7: started
thread8: started
thread9: started
signal from alarm 4 537976 4
signal from alarm 2 537944 2
signal from alarm 0 536880 0
signal from alarm 0 536880 0
signal from alarm 4 537976 4
signal from alarm 1 537928 1
signal from alarm 3 537960 3
signal from alarm 2 537944 2
signal from alarm 0 536880 0
signal from alarm 4 537976 4
signal from alarm 2 537944 2
signal from alarm 2 537944 2
signal from alarm 4 537976 4
signal from alarm 0 536880 0
signal from alarm 3 537960 3
signal from alarm 1 537928 1
signal from alarm 0 536880 0
signal from alarm 2 537944 2
signal from alarm 4 537976 4
Remove timer 0 536880
signal from alarm 3 537960 3
signal from alarm 2 537944 2
signal from alarm 4 537976 4
signal from alarm 0 0 0
Error, already deleted
signal from alarm 0 0 0
Error, already deleted
signal from alarm 2 537944 2
signal from alarm 4 537976 4
signal from alarm 0 0 0
Error, already deleted
signal from alarm 3 537960 3
signal from alarm 4 537976 4
signal from alarm 2 537944 2
signal from alarm 0 0 0
Error, already deleted
signal from alarm 2 537944 2
signal from alarm 4 537976 4
Remove timer 1 537928
signal from alarm 3 537960 3
signal from alarm 4 537976 4
signal from alarm 2 537944 2
signal from alarm 4 537976 4
signal from alarm 2 537944 2

---
j.A.

El mié, 20 jul 2022 a las 11:30, Peter Maydell (<peter.maydell@linaro.org>) escribió:
On Tue, 19 Jul 2022 at 23:09, Jon Alduan <jon.alduan@gmail.com> wrote:
>
> Hello Peter,
>
> I compiled the latest Qemu version with standard options. I did it for the dynamic qemu-arm option.
> Anyway, I get the same result.
> If you do not provide the -L option to qemu-arm, where are the arm-libs which it does need to run?
> i.e. qemu-arm: Could not open '/lib/ld-linux-armhf.so.3': No such file or directory

I build the guest binary with -static, so it does not need any
arm libraries: the executable is completely self-contained.

> Which ld and libc version are you using for building and running the app?

This is Ubuntu 20.04, with Ubuntu's cross-arch arm-linux-gnueabihf
libraries used for the link. So the libc is
libc6-armhf-cross                             2.31-0ubuntu9.9cross1

> Would it be possible that you provide me these libs and the app you created? Then, I could try to reproduce this good behavior on my side and discard possible issues in my environment.

The compiled binary is at
https://people.linaro.org/~peter.maydell/timertest

-- PMM


--
j.A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]