[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements |
Date: |
Sat, 04 Aug 2012 09:40:53 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 2012-08-04 06:13, Blue Swirl wrote:
> On Fri, Aug 3, 2012 at 10:40 PM, Richard Henderson <address@hidden> wrote:
>> Tree at
>>
>> git://repo.or.cz/qemu/rth.git axp-next
>
> I get this error:
> CC arm-linux-user/linux-user/syscall.o
> /src/qemu/linux-user/syscall.c: In function 'do_syscall':
> /src/qemu/linux-user/syscall.c:720:34: error: array subscript is below
> array bounds [-Werror=array-bounds]
Hmph. gcc 4.6 didn't see this, but gcc 4.7 did. Quite an annoying message
too, because it tells you nothing of where the caller of this inline function
is.
However:
@@ -6449,7 +6449,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
errno = 0;
ret = getpriority(arg1, arg2);
if (ret == -1 && errno != 0) {
- ret = get_errno(errno);
+ ret = -host_to_target_errno(errno);
break;
Re-pushed the tree with that change. Please try again.
r~
- [Qemu-devel] [PATCH 02/10] alpha-linux-user: Work around hosted mmap allocation problems, (continued)
- [Qemu-devel] [PATCH 02/10] alpha-linux-user: Work around hosted mmap allocation problems, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 03/10] alpha-linux-user: Handle TARGET_SSI_IEEE_RAISE_EXCEPTION properly, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 05/10] linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 04/10] linux-user: Sync fcntl.h bits with the kernel, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 06/10] linux-user: Allocate the right amount of space for non-fixed file maps, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 08/10] alpha-linux-user: Fix a3 error return with v0 error bypass., Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 07/10] linux-user: Translate pipe2 flags; add to strace, Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 09/10] alpha-linux-user: Properly handle the non-rt sigprocmask syscall., Richard Henderson, 2012/08/03
- [Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall, Richard Henderson, 2012/08/03
- Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements, Blue Swirl, 2012/08/04
- Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements,
Richard Henderson <=