qemu-devel
[Top][All Lists]
Advanced

[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~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]