Dne 29. 11. 23 v 15:25 Richard Henderson napsal(a):
> On 11/25/23 07:08, Petr Cvek wrote:
>> ERROR:../accel/tcg/cpu-exec.c:546:cpu_exec_longjmp_cleanup: assertion
>> failed: (cpu == current_cpu)
>> Bail out! ERROR:../accel/tcg/cpu-exec.c:546:cpu_exec_longjmp_cleanup:
>
Dne 27. 11. 23 v 10:37 Peter Maydell napsal(a):
> On Sat, 25 Nov 2023 at 13:09, Petr Cvek wrote:
>>
>> It seems there is a bug in SIGALRM handling when 486 system emulates x86_64
>> code.
>
> 486 host is pretty well out of support currently. Can you reproduce
> t
(cpu ==
current_cpu)
Petr
Dne 28. 11. 23 v 16:52 Richard Henderson napsal(a):
> On 11/26/23 09:56, Paolo Bonzini wrote:
>>
>>
>> Il sab 25 nov 2023, 13:23 Petr Cvek > <mailto:petrcve...@gmail.com>> ha scritto:
>>
>> GCC defines __i386__ for i386 and i
Dne 26. 11. 23 v 16:56 Paolo Bonzini napsal(a):
>
>
> Il sab 25 nov 2023, 13:23 Petr Cvek <mailto:petrcve...@gmail.com>> ha scritto:
>
> GCC defines __i386__ for i386 and i486, which both lack RDTSC instruction.
> The i386 seems to be impossible to d
Dne 26. 11. 23 v 14:03 Samuel Tardieu napsal(a):
>
> Petr Cvek writes:
>
>> Actually I was thinking about mentioning it in the commit message also, but
>> I wasn't able
>> to find any specification for that (if all compilers use it).
>
> Note that thi
r 486 is OK it can be added also.
Petr
Dne 26. 11. 23 v 13:37 Samuel Tardieu napsal(a):
>
> Petr Cvek writes:
>
>> GCC defines __i386__ for i386 and i486, which both lack RDTSC instruction.
>> The i386 seems to be impossible to distinguish, but i486 can be identified
&g
It seems there is a bug in SIGALRM handling when 486 system emulates x86_64
code.
This code:
#include
#include
#include
#include
#include
pthread_t thread1, thread2;
// Signal handler for SIGALRM
void alarm_handler(int sig) {
// Do nothing, just wake up the other thread
}
// Thread
GCC defines __i386__ for i386 and i486, which both lack RDTSC instruction.
The i386 seems to be impossible to distinguish, but i486 can be identified
by checking for undefined __i486__.
Signed-off-by: Petr Cvek
---
include/qemu/timer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff