qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements
Date: Sat, 04 Aug 2012 09:40:53 -0700	[thread overview]
Message-ID: <501D5095.1080503@twiddle.net> (raw)
In-Reply-To: <CAAu8pHuto9HLKkr2kdWpiiVatO0sXRta7Kviq_8GzCDvQU3kJw@mail.gmail.com>

On 2012-08-04 06:13, Blue Swirl wrote:
> On Fri, Aug 3, 2012 at 10:40 PM, Richard Henderson <rth@twiddle.net> 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	other threads:[~2012-08-04 16:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 22:40 [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 01/10] alpha-linux-user: Fix signal handling Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 02/10] alpha-linux-user: Work around hosted mmap allocation problems Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 03/10] alpha-linux-user: Handle TARGET_SSI_IEEE_RAISE_EXCEPTION properly Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 04/10] linux-user: Sync fcntl.h bits with the kernel Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 05/10] linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 06/10] linux-user: Allocate the right amount of space for non-fixed file maps Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 07/10] linux-user: Translate pipe2 flags; add to strace Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 08/10] alpha-linux-user: Fix a3 error return with v0 error bypass Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 09/10] alpha-linux-user: Properly handle the non-rt sigprocmask syscall Richard Henderson
2012-08-03 22:40 ` [Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall Richard Henderson
2012-08-04 13:13 ` [Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements Blue Swirl
2012-08-04 16:40   ` Richard Henderson [this message]
2012-08-04 19:00     ` Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501D5095.1080503@twiddle.net \
    --to=rth@twiddle.net \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).