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: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements
Date: Sat, 4 Aug 2012 19:00:28 +0000

On Sat, Aug 4, 2012 at 4:40 PM, Richard Henderson <address@hidden> wrote:
> 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.

Thanks, pulled.

>
>
> r~
>



reply via email to

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