On Mär 06 2024, Alistair Francis wrote:
> On Sun, Mar 3, 2024 at 8:34 PM Andreas Schwab wrote:
>>
>> On Jan 28 2024, Michael Tokarev wrote:
>>
>> > From: Richard Henderson
>> >
>> > A typo in sizeof_reg put the registers at the wrong offset.
&g
= 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a1dc8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2e1050,0x2b2a21a8,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a21a8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a2268,NULL,8) = 0
30962 read(3,0xab2a2747,1) = 1
30962
Also tested with master, same result.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
= 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a1dc8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2e1050,0x2b2a21a8,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a21a8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a2268,NULL,8) = 0
30962 read(3,0xab2a2747,1) = 1
30962
context.
This breaks the testsuite of libunwind. The test Gtest-resume-sig and
all dependent tests hang. Reverting this commit fixes them.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
On Okt 17 2023, Richard Henderson wrote:
> The manual says "burst reads and writes" without defining those terms.
Burst transfers are explained in the M68040UM (7.4.2 Line Read Transfer
and 7.4.4 Line Write Transfers).
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key finge
On Sep 19 2023, Andrew Jones wrote:
> This should be fixed by
>
> https://lore.kernel.org/all/20230911064320.939791-37-alistair.fran...@wdc.com/
Thanks, I can confirm that it fixes the issue.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE
When running in KVM mode with -cpu host, cfg.satp_mode.supported is not
initialized, causing an infinite loop in riscv_cpu_satp_mode_finalize.
Fixes: 6df3747a27 ("riscv: Introduce satp mode hw capabilities")
Signed-off-by: Andreas Schwab
---
target/riscv/cpu.c | 2 ++
1 file
On Aug 15 2023, Daniel Henrique Barboza wrote:
> This was fixed in 8.1 by eddabb6b88 ("target/riscv: skip features setup for
> KVM CPUs").
> Which QEMU version/branch are you using?
Thanks, this was tested with 8.0.4.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key
,h=on,sv48=on.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
ow I cannot see the 'tag' v1.3.1 being populated in the opensbi
> git repo. Am I missing anything?
You need to run git fetch --tags, because the tag is not part of any
branch, thus not fetched automatically.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 25
andomize_brk implementations.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Signed-off-by: Andreas Schwab
---
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 08162cc966..e8a17377f5 100644
--- a/linux-user/sysca
tion failed: (cpu ==
current_cpu)
Bail out! ERROR:../accel/tcg/cpu-exec.c:1028:cpu_exec_setjmp: assertion failed:
(cpu == current_cpu)
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Jul 03 2023, Alex Bennée wrote:
> Andreas Schwab writes:
>
>> On Jul 03 2023, Andreas Schwab wrote:
>>
>>> This is a regression in 8.0. It causes the testsuite of mold to fail:
>>>
>>> https://build.opensuse.org/package/live_build_log
==
current_cpu)
**
ERROR:../accel/tcg/cpu-exec.c:1028:cpu_exec_setjmp: assertion failed: (cpu ==
current_cpu)
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Ping?
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Ping?
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mai 05 2023, Laurent Vivier wrote:
> [PATCH qemu v2] linux-user: Emulate /proc/cpuinfo output for riscv
> https://patchew.org/QEMU/167873059442.9885.1515208531657524845...@git.sr.ht/
This looks better. You can drop my patch.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key finge
>From 912af433fa5d93ce81d2054135ed475ab7462d2d Mon Sep 17 00:00:00 2001
From: Andreas Schwab
Date: Tue, 18 Apr 2023 11:54:01 +0200
Signed-off-by: Andreas Schwab
---
v3: fix isa order
linux-user/syscall.c | 55 ++--
1 file changed, 53 insertions(+)
Signed-off-by: Andreas Schwab
---
v2: dynmically compute the isa string
linux-user/syscall.c | 55 ++--
1 file changed, 53 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 69f740ff98..6df138c8b6 100644
On Mai 02 2023, Andreas Schwab wrote:
> None of the currently defined cpus are non-GC cpus (except sifive_e, but
> that is not suitable for user-space anyway), and there doesn't appear to
> be any properties defined for changing the supported extensions.
Actually, modifying the e
On Mai 02 2023, Palmer Dabbelt wrote:
> On Tue, 02 May 2023 06:44:00 PDT (-0700), sch...@suse.de wrote:
>> Signed-off-by: Andreas Schwab
>> ---
>> linux-user/syscall.c | 30 --
>> 1 file changed, 28 insertions(+), 2 deletions(-)
&g
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 30 --
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 69f740ff98..c72456a34b 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
Do not reverse the order of environment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
bsd-user/main.c | 10 +-
linux-user
On Mär 29 2023, Philippe Mathieu-Daudé wrote:
> On 29/3/23 16:00, Daniel P. Berrangé wrote:
>> On Wed, Mar 29, 2023 at 03:55:13PM +0200, Andreas Schwab wrote:
>>> Do not reverse the order of environment variables in the target environ
>>> array relative to the in
On Mär 29 2023, Daniel P. Berrangé wrote:
> On Wed, Mar 29, 2023 at 03:55:13PM +0200, Andreas Schwab wrote:
>> Do not reverse the order of environment variables in the target environ
>> array relative to the incoming environ order. Some testsuites depend on a
>> specif
Do not reverse the order of environment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
linux-user/main.c | 6 ++
1 file changed, 6
Do not reverse the order of envionment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
linux-user/main.c | 7 ++-
1 file changed, 6
Some programs want to match an actual task state character.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 36fffd36ca..eb4c2c3162 100644
--- a/linux-user/syscall.c
+++ b/linux-user
GETBSZ _IO(0x00,2)
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
ot;%zx\n", Max);
}
$ cc -O2 -g -Wall -std=gnu11 -g mmap.c -o mmap
$ ./mmap
7f672e5ff000
$ qemu-x86_64 ./mmap
Killed
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
LOOP_CONFIGURE is now used by losetup, and it cannot cope with ENOSYS.
Signed-off-by: Andreas Schwab
---
v2: fix s/loop_configure/loop_config/ typo
linux-user/ioctls.h| 4
linux-user/linux_loop.h| 2 ++
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 6
LOOP_CONFIGURE is now used by losetup, and it cannot cope with ENOSYS.
Signed-off-by: Andreas Schwab
---
linux-user/ioctls.h| 4
linux-user/linux_loop.h| 2 ++
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 6 ++
4 files changed, 16 insertions(+)
diff
Add basic support for CLONE_PIDFD, only fork-like clone without additional
flags. This is enough to make Qt/forkfd working.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 52 ++--
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git
Add basic support for CLONE_PIDFD, only fork-like clone without additional
flags. This is enough to make Qt/forkfd working.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 52 ++--
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 974dd46c9a..dababe463c 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -7940,6 +7940,9 @@ static int open_self_stat(void
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 40
1 file changed, 40 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 3160a9ba06..c3373af4c7 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -813,6
As you can see in the build log the package builds sucessfully.
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1793539
Title:
ut it is not being triggered. While
> it is only complaining about the first option, I changed all
> the options to give consistency.
>
> Signed-off-by: Daniel P. Berrangé
Running Sphinx v1.7.6
[...]
Warning, treated as error:
../qemu-5.0.0/docs/qemu-option-trace.rst.inc:21:Duplicate expli
The glibc getcwd function returns different errors than the getcwd
syscall, which triggers an assertion failure in the glibc getcwd function
when running under the emulation.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 9 +
1 file changed, 1 insertion(+), 8 deletions
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 32 +++-
1 file changed, 27 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9ec03a889d..7c0f5b83ff 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
ly by fpsp040, to be
compatible with the 68881.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Signed-off-by: Andreas Schwab
---
linux-user/generic/fcntl.h | 4
linux-user/syscall.c | 6 ++
2 files changed, 10 insertions(+)
diff --git a/linux-user/generic/fcntl.h b/linux-user/generic/fcntl.h
index 9f727d4df2..c85c5b9fed 100644
--- a/linux-user/generic/fcntl.h
+++ b/linux
On Apr 07 2020, Peter Maydell wrote:
> On Tue, 7 Apr 2020 at 11:37, Laurent Vivier wrote:
>>
>> Le 06/04/2020 à 17:18, Andreas Schwab a écrit :
>> > The glibc getcwd function returns different errors than the getcwd
>> > syscall, which triggers an assertion fai
The glibc getcwd function returns different errors than the getcwd
syscall, which triggers an assertion failure in the glibc getcwd function
when running under the emulation.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 9 +
1 file changed, 1 insertion(+), 8 deletions
Signed-off-by: Andreas Schwab
---
linux-user/strace.list | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 63a946642d..863283418e 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -121,6 +121,9 @@
#ifdef TARGET_NR_dup2
Copy the correct firmware file
Signed-off-by: Andreas Schwab
---
roms/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/roms/Makefile b/roms/Makefile
index dc70fb5aea..775c963f9d 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -183,7 +183,7 @@ opensbi64-sifive_u
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d113a65831..ba5775a94e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f5ff6f5dc8..80399f4eb0 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -313,6 +313,9 @@ _syscall3(int, getrandom
A zero-length read still needs to do the usual checks, thus it may return
errors like EBADF. This makes the read syscall emulation consistent with
the pread64 syscall emulation.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
value of the addrlen parameter, so that it doesn't write
past the buffer limits.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 41 +
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index
Set msg_flags in the returned struct msghdr.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 90bfda3563..b6b566a6fa 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
of the addrlen parameter, so that it doesn't write past the buffer
limits.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 38 ++
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 55fa235a56
of the addrlen parameter, so that it doesn't write past the buffer
limits.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 38 ++
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d5db01122aa4
Public bug reported:
During the build of gedit for RISC-V this error occurs:
$ qemu-riscv64 -E LD_LIBRARY_PATH=gedit/.libs ./gedit/.libs/gedit
qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x6003ddc5
qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x69e4
A zero-length read still needs to do the usual checks, thus it may return
errors like EBADF.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index
On Jul 09 2018, Alistair Francis wrote:
> On Mon, Jul 9, 2018 at 3:00 AM, Andreas Schwab wrote:
>> What is the state of the sifive_u emulation? When I tried to boot a bbl
>> with an included kernel I get these errors:
>>
>> qemu-system-riscv64: plic: invalid regis
qemu-system-riscv64: plic: invalid register write: 20b0
qemu-system-riscv64: plic: invalid register write: 20b4
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mär 19 2018, Michael Clark wrote:
> On Mon, Mar 19, 2018 at 9:17 AM, Andreas Schwab wrote:
>
>> I'm seeing this error while building gedit for riscv64 with linux-user
>> emulation:
>>
>> $ LD_LIBRARY_PATH=gedit/.libs qemu-riscv64 gedit/.libs/gedit
use.org/package/show/openSUSE:Factory:RISCV/gedit>
with osc and use osc build.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
context @ pc=0x6003d7d5
qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x60106a16
This is qemu as of today with the patches from
git://github.com/riscv/riscv-qemu / riscv-all on top.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970
: 'iscsi_invalidate_cache' undeclared here (not in
a function); did you mean 'iscsi_co_invalidate_cache'?
.bdrv_invalidate_cache = iscsi_invalidate_cache,
^~
iscsi_co_invalidate_cache
Andreas.
--
Andreas
This is being used to build openSUSE Factory for riscv64 with linux-user
emulation:
https://build.opensuse.org/project/show/openSUSE:Factory:RISCV
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"An
On Feb 15 2018, Laurent Vivier <laur...@vivier.eu> wrote:
> Le 06/02/2018 à 11:31, Andreas Schwab a écrit :
>> No attempt is made to emulate it on the host.
>
> I don't understand what you mean here...
If your host doesn't have it, neither will the emulation.
Andreas.
--
No attempt is made to emulate it on the host.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
v2: fix spacing
---
linux-user/syscall.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index bed1
No attempt is made to emulate it on the host.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 07fb8de921..ff89016adc
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ff89016adc..82848fd97d 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -
ve_pages 239
> +#define TARGET_NR_rt_tgsigqueueinfo 240
> +#define TARGET_NR_perf_event_open 241
> +#define TARGET_NR_accept4 242
> +#define TARGET_NR_recvmmsg 243
> +#define TARGET_NR_arch_specific_syscall 244
> +#define TARGET_NR_wait4 260
> +#define TARGET_NR_prlimit64 261
> +#define TARGET_NR_fanotify_init 262
> +#define TARGET_NR_fanotify_mark 263
> +#define TARGET_NR_name_to_handle_at 264
> +#define TARGET_NR_open_by_handle_at 265
> +#define TARGET_NR_clock_adjtime 266
> +#define TARGET_NR_syncfs 267
> +#define TARGET_NR_setns 268
> +#define TARGET_NR_sendmmsg 269
> +#define TARGET_NR_process_vm_readv 270
> +#define TARGET_NR_process_vm_writev 271
> +#define TARGET_NR_kcmp 272
> +#define TARGET_NR_finit_module 273
> +
> +#define TARGET_NR_syscalls (__NR_finit_module + 1)
This is very much out of date, missing some important entries. Also,
TARGET_NR_syscalls needs to refer to TARGET_NR_*.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
With glibc 2.27 the openpty function prefers the TIOCGPTPEER ioctl.
Signed-off-by: Andreas Schwab <sch...@suse.de>
Reviewed-by: Laurent Vivier <laur...@vivier.eu>
---
v2: handle host with old kernel headers
v3: fix sparc typos
---
linux-user/aarch64/termbits.h| 2 ++
linu
With glibc 2.27 the openpty function will prefer the TIOCGPTPEER ioctl.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
v2: handle host with old kernel headers
---
linux-user/aarch64/termbits.h| 2 ++
linux-user/alpha/termbits.h | 1 +
linux-user/arm/termbits.h| 1 +
With glibc 2.27 the openpty function will prefer the TIOCGPTPEER ioctl.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/aarch64/termbits.h| 2 ++
linux-user/alpha/termbits.h | 1 +
linux-user/arm/termbits.h| 1 +
linux-user/cris/termbits.h | 1 +
linu
This is needed for new architectures like RISC-V which do not provide any
other rename-like syscall.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/linux-user/syscall.c b/linu
On Jan 23 2018, Laurent Vivier <laur...@vivier.eu> wrote:
> And, please, test it (build/run).
This was tested by bootstrapping openSUSE Factory for RISC-V.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
lags_tbl)));
>
> You can't use fcntl_flags_tbl
Of course! I was confused by another patch I was working on which does
need such a conversion. :-/
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
This is needed for new architectures like RISC-V which do not provide any
other rename-like syscall.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/linux-user/syscall.c b/linu
sh4 [2].
It's a bug in qemu-linux-user, which ignores CLONE_VFORK, turning vfork
into fork. This breaks the expected semantics of vfork (VM sharing and
blocking the child until exec).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5
On Mär 22 2017, Thomas Huth <h...@tuxfamily.org> wrote:
> On 21.03.2017 10:38, Andreas Schwab wrote:
>> The m68k mask should not remove the low bit of the ELF version field and
>> should ignore the OS/ABI field.
>
> Did you encounter a problem with a real binar
The m68k mask should not remove the low bit of the ELF version field and
should ignore the OS/ABI field.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
scripts/qemu-binfmt-conf.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/qemu-binfmt-conf.sh b/script
Instead of post-processing the real contents use the remembered target
argv. That removes all traces of qemu, including command line options,
and handles QEMU_ARGV0.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 47 +++-
On Feb 17 2017, Richard Henderson <r...@twiddle.net> wrote:
> On 02/16/2017 09:18 PM, Andreas Schwab wrote:
>> There is no guarantee that the host long double has the same range and
>> precision as floatx80.
>
> Indeed not. However, do you have another plan for implem
0/60 don't support denormal/unnormal in hardware and lets the
support library handle them, which presumably works the same way as the
68881/2.)
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
ne and in floatx80 it is the MSB.
An Intel Extended also has a different exponent bias than a Motorola
Extended in the denormal range. In other words, for the latter the bias
doesn't change between normal and denormal numbers.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 5
Sorry, I forgot to update the url of the submodule. Just editing
.git/config isn't enough.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Fetched in submodule path 'roms/qemu-palcode', but it did not contain
f3c7e44c70254975df2a00af39701eafbac4d471. Direct fetching of that commit failed.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"An
c gives the same wrong opcode on the bfffo description page. It
> confused me for some time until I scrolled to the opcode map at the end of
> the document, where it is correctly identified as EDC0.
The printed manual has the correct opcode, it is only wrong in the PDF.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Instead of post-processing the real contents use the remembered target
argv. That removes all traces of qemu, including command line options,
and handles QEMU_ARGV0.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 47 +++-
Instead of post-processing the real contents use the remembered target
argv. That removes all traces of qemu, including command line options,
and handles QEMU_ARGV0.
Signed-off-by: Andreas Schwab <sch...@suse.de>
---
linux-user/syscall.c | 47 +++-
;> +gen_jmp_tb(s, 1, base + offset);
>> +gen_set_label(l1);
>> +update_cc_op(s);
>> +gen_jmp_tb(s, 0, s->pc);
>
> Pull the update_cc_op up to the top, so as to only generate one copy.
This misses a followup patch which moves it into gen_jmpcc. In the
c
Laurent Vivier <laur...@vivier.eu> writes:
> From: Andreas Schwab <sch...@linux-m68k.org>
>
> Signed-off-by: Andreas Schwab <sch...@linux-m68k.org>
> Signed-off-by: Laurent Vivier <laur...@vivier.eu>
> ---
> target-m68k/translate.c | 2 +-
> 1 file ch
Andreas Schwab <sch...@linux-m68k.org> writes:
> Here is a testcase:
>
> when compiling tlink.c from the gcc sources with gcc-6 r234449 (which
> was bootstrapped in aranym):
>
> $ g++ -fno-PIE -c -fomit-frame-pointer -O2 -DIN_GCC -fno-exceptions
> -fno-rtti -fas
_Z15collect_executePKcPPcS0_S0_ib
+ move.l %d4,%a1
+ jsr (%a1)
move.l %a0,-(%sp)
pea .LC23
- move.l %d4,%a0
- jsr (%a0)
+ jsr _Z12collect_waitPKcP7pex_obj
move.l %d0,%d3
lea (32,%sp),%sp
jeq .L368
Andreas.
--
Andreas Schwab, sch
Laurent Vivier <laur...@vivier.eu> writes:
> What is the version of gcc?
It doesn't matter, any version.
> what are your configure parameters?
Nothing special.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:
> On 05/06/2016 03:24 PM, Andreas Schwab wrote:
>> John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:
>>
>>> On 05/06/2016 02:44 PM, Andreas Schwab wrote:
>>>> You are
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:
> On 05/06/2016 02:44 PM, Andreas Schwab wrote:
>> You are cheating, you override BOOT_CFLAGS.
>
> I'm not doing anything.
Yes, you do. See the build log.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.or
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:
> On 05/06/2016 12:15 PM, Andreas Schwab wrote:
>> Laurent Vivier <laur...@vivier.eu> writes:
>>
>>> BTW, Adrian is using this branch (680x0-master-dev) for months to build
>>> Debia
Laurent Vivier <laur...@vivier.eu> writes:
> BTW, Adrian is using this branch (680x0-master-dev) for months to build
> Debian packages.
I don't trust it yet until it can bootstrap gcc.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 175
) only used in the stage1 compiler (which is built
unoptimized) isn't handled correctly yet.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Markus Armbruster <arm...@redhat.com> writes:
> I vaguely remember we settled for GLib 2.22 due to some version of SLES.
> If that's correct: what version of Python does it provide?
SLES-11 has always provided python 2.6.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key
Richard Henderson r...@twiddle.net writes:
Ah. Except placed here it also applies to and/or/move too.
Well, none of those ever overflow in the first place.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
And now
1 - 100 of 153 matches
Mail list logo