Lureau"
CC: "Philippe Mathieu-Daudé"
Bug: https://bugs.gentoo.org/766743
Bug: https://bugs.launchpad.net/qemu/+bug/1913012
Patch-by: Jannik Glückert
Signed-off-by: Sergei Trofimovich
---
pc-bios/descriptors/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/p
Gentoo also noticed the bug: https://bugs.gentoo.org/766743
Jannik Glückert proposed a fix:
```
--- a/pc-bios/descriptors/meson.build
+++ b/pc-bios/descriptors/meson.build
@@ -8,7 +8,7 @@ foreach f: [
]
configure_file(input: files(f),
output: f,
-
CC: Laurent Vivier
CC: qemu-triv...@nongnu.org
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Sergei Trofimovich
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index a02c743794..48e7c56cc1 100644
--- a/meson.build
+++ b
hilippe Mathieu-Daudé"
CC: Rafael Kitover
Signed-off-by: Sergei Trofimovich
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 04e070bb3b..7fd2a903c5 100644
--- a/meson.build
+++ b/meson.build
@@ -255,8 +2
On Thu, 16 Apr 2020 18:59:57 +0100
Sergei Trofimovich wrote:
> Fix syscall name and parameters priinter.
>
> Before the change:
>
> ```
> $ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a
> .
:
```
$ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a
...
1273719 epoll_create1(2097152) = 3
1273719 exit_group(0)
```
Signed-off-by: Sergei Trofimovich
CC: Riku Voipio
CC: Laurent Vivier
---
linux-user/strace.list | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Proposed possible fix as https://lists.nongnu.org/archive/html/qemu-
devel/2020-04/msg02545.html
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872847
Title:
qemu-alpha linux-user breaks python3.6
:EPOLL_CLOEXEC = 0200
Bug: https://bugs.gentoo.org/717548
Reported-by: Barnabás Virágh
Signed-off-by: Sergei Trofimovich
CC: Riku Voipio
CC: Laurent Vivier
---
linux-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index
Alternatively 'uint64_t helper_todouble(uint32_t)' could be implemented via
include/fpu/softfloat.h:float64 float32_to_float64(float32, float_status
*status);
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Public bug reported:
Noticed on qemu-3.1.0 on GHC test suite where float32 comparisons didn't work
on NaNs.
Here is the minimal reproducer:
```c
// cat a.c
#include
#include
#include
int main() {
volatile float f1 = NAN;
volatile float f2 = NAN;
printf ("f1 (%e, %#x) >= f2 (%e,
The bug is in the same area as
https://bugs.launchpad.net/qemu/+bug/1821444 but in another branch of
'uint64_t helper_todouble(uint32_t arg=0x1)'.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Attaching the patch and sending for review as:
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg06562.html
** Patch added: "patch to fix denormals"
https://bugs.launchpad.net/qemu/+bug/1821444/+attachment/5248915/+files/0001-powerpc-fix-denorm-float-double-conversion.patch
--
en converting to normalized 'double'
- significand had an off-by-one shift
CC: Richard Henderson
CC: David Gibson
CC: qemu-...@nongnu.org
CC: qemu-devel@nongnu.org
Bug: https://bugs.launchpad.net/qemu/+bug/1821444
Signed-off-by: Sergei Trofimovich
---
target/ppc/fpu_helper.c | 32 +++
A bit more investigation:
It looks like the bug happens in float->double conversion direction.
$ cat a.c
#include
#include
int main() {
volatile uint32_t i = 1;
volatile float f;
volatile double d;
*(volatile uint32_t*) = i;
d = f;
printf("d = %#llx (expect
Shorter example without relying on printf() implementation. Looks like
uint32_t<->float<->double transitions are enough.
$ cat a.c
#include
#include
int main() {
volatile uint32_t i = 1;
volatile float f;
volatile double d;
*(volatile uint32_t*) = i;
d = f; f = d; // double
My native system is x86_64-pc-linux-gnu with a few binfmt_misc handlers wired.
Checking other targets I have locally I get the following:
affected targets:
- powerpc
- powerpc64
- powerpc64le
unaffected targets:
- arm
- arm64
- hppa
- sparc
probably unaffected:
- alpha (maybe it's ok as alpha is
Public bug reported:
I'm using qemu-3.1.0 (Gentoo).
When I was running regression test suite via qemu-ppc for GHC I noticed
a few uint32_t<->float32 failures I did not expect to encounter.
Here is an example
$ cat a.c
#include
#include
int main() {
volatile uint32_t i = 1;
On Thu, 15 Feb 2018 14:35:39 -0300
Philippe Mathieu-Daudé wrote:
> #else
> +#include
I think it's incorrect. 'pkg-config' already reports 'capstone/' path:
$ pkg-config --cflags capstone
-I/usr/include/capstone
$ ls /usr/include/capstone/capstone.h
-devel@nongnu.org
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
---
Change since v1:
- cleaned up 'linux-user/strace.list' from deprecated defines
linux-user/alpha/syscall_nr.h | 6 +++---
linux-user/strace.list| 9
On Sat, 8 Apr 2017 20:33:22 +0100
Sergei Trofimovich <sly...@gentoo.org> wrote:
> Noticed when ran GHC on alpha:
> $ qemu-alpha -L /usr/alpha-unknown-linux-gnu/ /tmp/a
> qemu: Unsupported syscall: 407
>
> linux-user/syscall.c does have 'epoll_create' wiring,
>
ki.fi>
Cc: qemu-devel@nongnu.org
Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
---
linux-user/alpha/syscall_nr.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h
index 00e14bb6b3..e848154663 10064
On Sun, 16 Sep 2012 22:21:31 +0200
Stefan Weil s...@weilnetz.de wrote:
Am 16.09.2012 21:52, schrieb Mike Frysinger:
On Sunday 15 July 2012 15:54:51 Stefan Weil wrote:
Am 15.07.2012 22:26, schrieb Mike Frysinger:
We should not quote the PKG_CONFIG setting as this deviates from the
From: Sergei Trofimovich sly...@gentoo.org
Added wrapper around pkg-config to allow:
- safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
- spaces in path to pkg-config
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
CC: Peter Maydell peter.mayd...@linaro.org
---
configure | 11
From: Sergei Trofimovich sly...@gentoo.org
Current './configure --static make' fails for me:
LINK qemu-nbd
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lssl3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin
On Mon, 23 Jan 2012 21:33:49 +0300
Sergei Trofimovich sly...@inbox.ru wrote:
From: Sergei Trofimovich sly...@gentoo.org
Added wrapper around pkg-config to allow:
- safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
- spaces in path to pkg-config
Signed-off-by: Sergei Trofimovich sly
On Mon, 23 Jan 2012 10:41:38 +0300
Sergei Trofimovich sly...@inbox.ru wrote:
From: Sergei Trofimovich sly...@gentoo.org
Current './configure --static make' fails for me:
LINK qemu-nbd
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find
From: Sergei Trofimovich sly...@gentoo.org
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
---
configure |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 9d72145..bca1943 100755
--- a/configure
+++ b/configure
@@ -771,6 +771,10
From: Sergei Trofimovich sly...@gentoo.org
Current './configure --static make' fails for me:
LINK qemu-nbd
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lssl3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin
From: Sergei Trofimovich sly...@gentoo.org
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 467e87b..f3dcfba 100755
--- a/configure
+++ b/configure
@@ -553,6 +553,7 @@ for opt do
From: Sergei Trofimovich sly...@gentoo.org
Added wrapper around pkg-config to allow:
- safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
- spaces in path to pkg-config
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
---
configure | 11 ---
1 files changed, 8 insertions(+), 3
From: Sergei Trofimovich sly...@gentoo.org
Added wrapper around pkg-config to allow:
- safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
- spaces in path to pkg-config
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
---
configure | 11 ---
1 files changed, 8 insertions(+), 3
31 matches
Mail list logo