From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: famz@redhat.com, riku.voipio@iki.fi, rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH v2] target-m68k, linux-user: manage FP registers in ucontext
Date: Wed, 21 Jun 2017 23:42:08 +0200 [thread overview]
Message-ID: <c7abbfcd-7d4f-46ec-d288-be165b081792@vivier.eu> (raw)
In-Reply-To: <149808112660.640.1288061492384019109@4a9a010726c0>
This fails because this patch must be applied on top of my last pull
request.
Laurent
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c: In function ‘target_rt_save_fpu_state’:
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5687:38: error: request for member ‘d’ in something not a structure or union
> uint32_t high = env->fregs[i].d.high << 16;
> ^
> In file included from /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:24:0:
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5689:33: error: request for member ‘d’ in something not a structure or union
> __put_user(env->fregs[i].d.low,
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:469:16: note: in definition of macro ‘__put_user_e’
> ((hptr), (x)), (void)0)
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5689:9: note: in expansion of macro ‘__put_user’
> __put_user(env->fregs[i].d.low,
> ^~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:469:19: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
> ((hptr), (x)), (void)0)
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:480:31: note: in expansion of macro ‘__put_user_e’
> # define __put_user(x, hptr) __put_user_e(x, hptr, be)
> ^~~~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5689:9: note: in expansion of macro ‘__put_user’
> __put_user(env->fregs[i].d.low,
> ^~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c: In function ‘target_rt_restore_fpu_state’:
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5733:5: error: implicit declaration of function ‘cpu_m68k_set_fpcr’ [-Werror=implicit-function-declaration]
> cpu_m68k_set_fpcr(env, fpcr);
> ^~~~~~~~~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5733:5: error: nested extern declaration of ‘cpu_m68k_set_fpcr’ [-Werror=nested-externs]
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5740:22: error: request for member ‘d’ in something not a structure or union
> env->fregs[i].d.high = high >> 16;
> ^
> In file included from /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:24:0:
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5741:33: error: request for member ‘d’ in something not a structure or union
> __get_user(env->fregs[i].d.low,
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:472:5: note: in definition of macro ‘__get_user_e’
> ((x) = (typeof(*hptr))( \
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5741:9: note: in expansion of macro ‘__get_user’
> __get_user(env->fregs[i].d.low,
> ^~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:477:13: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
> (hptr)), (void)0)
> ^
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/qemu.h:481:31: note: in expansion of macro ‘__get_user_e’
> # define __get_user(x, hptr) __get_user_e(x, hptr, be)
> ^~~~~~~~~~~~
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/linux-user/signal.c:5741:9: note: in expansion of macro ‘__get_user’
> __get_user(env->fregs[i].d.low,
> ^~~~~~~~~~
> cc1: all warnings being treated as errors
> /var/tmp/patchew-tester-tmp-rz35mvuf/src/rules.mak:66: recipe for target 'linux-user/signal.o' failed
> make[1]: *** [linux-user/signal.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
next prev parent reply other threads:[~2017-06-21 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 21:07 [Qemu-devel] [PATCH v2] target-m68k, linux-user: manage FP registers in ucontext Laurent Vivier
2017-06-21 21:38 ` no-reply
2017-06-21 21:42 ` Laurent Vivier [this message]
2017-06-21 22:01 ` Richard Henderson
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=c7abbfcd-7d4f-46ec-d288-be165b081792@vivier.eu \
--to=laurent@vivier.eu \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
--cc=rth@twiddle.net \
/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).