[Bug 1908626] Re: Atomic test-and-set instruction does not work on qemu-user

2021-08-03 Thread taos
Thanks. Tested, the problem is gone. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1908626 Title: Atomic test-and-set instruction does not work on qemu-user Status in QEMU: Expired Bug descript

[Bug 1908626] Re: Atomic test-and-set instruction does not work on qemu-user

2021-07-28 Thread taos
** Changed in: qemu Status: Expired => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1908626 Title: Atomic test-and-set instruction does not work on qemu-user Status in QEMU: New Bug

[Bug 1908626] Re: Atomic test-and-set instruction does not work on qemu-user

2020-12-18 Thread taos
Interestingly, the spinlock test works after I change tas() implementation FROM __sync_lock_test_and_set(lock, 1); TO __sync_val_compare_and_swap(lock, 0, 1); ## gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3) __sync_lock_test_and_set(lock, 1) disassembly: ``` objdump -S a.out 00400

[Bug 1908626] [NEW] Atomic test-and-set instruction does not work on qemu-user

2020-12-17 Thread taos
Public bug reported: I try to compile and run PostgreSQL/Greenplum database inside docker container/qemu-aarch64-static: ``` host: CentOS7 x86_64 container: centos:centos7.9.2009 --platform linux/arm64/v8 qemu-user-static: https://github.com/multiarch/qemu-user-static/releases/ ``` However, G