From: Ian Campbell <ian.campbell@citrix.com>
To: xen-devel@lists.xensource.com, Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [Xen-staging] [xen staging] libxl: ao abort: Handle SIGTERM in save/restore helper
Date: Fri, 26 Jun 2015 17:44:51 +0100 [thread overview]
Message-ID: <1435337091.32500.211.camel@citrix.com> (raw)
In-Reply-To: <E1Z8W6A-0004wB-68@xenbits.xen.org>
On Fri, 2015-06-26 at 16:03 +0000, patchbot@xen.org wrote:
> commit b6ac9b7fc6bb18057a1aa114296b32f59b40e187
> Author: Ian Jackson <ian.jackson@eu.citrix.com>
> AuthorDate: Tue Feb 10 19:05:06 2015 +0000
> Commit: Ian Jackson <Ian.Jackson@eu.citrix.com>
> CommitDate: Fri Jun 26 16:53:51 2015 +0100
>
> libxl: ao abort: Handle SIGTERM in save/restore helper
Trying to do a build test of my libxenctrl split on FreeBSD I came
across this build failure with current staging (without my patches)
which I suspect is down to this change. Missing a header perhaps?
libxl_save_helper.c: In function 'setup_signals':
libxl_save_helper.c:158:22: error: storage size of 'sa' isn't known
struct sigaction sa;
^
libxl_save_helper.c:167:5: error: implicit declaration of function 'sigemptyset' [-Werror=implicit-function-declaration]
sigemptyset(&sa.sa_mask);
^
libxl_save_helper.c:168:5: error: implicit declaration of function 'sigaction' [-Werror=implicit-function-declaration]
r = sigaction(SIGTERM, &sa, 0);
^
libxl_save_helper.c:168:19: error: 'SIGTERM' undeclared (first use in this function)
r = sigaction(SIGTERM, &sa, 0);
^
libxl_save_helper.c:168:19: note: each undeclared identifier is reported only once for each function it appears in
libxl_save_helper.c:172:5: error: implicit declaration of function 'sigaddset' [-Werror=implicit-function-declaration]
sigaddset(&spmask,SIGTERM);
^
libxl_save_helper.c:173:5: error: implicit declaration of function 'sigprocmask' [-Werror=implicit-function-declaration]
r = sigprocmask(SIG_UNBLOCK,&spmask,0);
^
libxl_save_helper.c:173:21: error: 'SIG_UNBLOCK' undeclared (first use in this function)
r = sigprocmask(SIG_UNBLOCK,&spmask,0);
^
libxl_save_helper.c:158:22: error: unused variable 'sa' [-Werror=unused-variable]
struct sigaction sa;
^
libxl_save_helper.c: In function 'main':
libxl_save_helper.c:313:23: error: 'SIG_DFL' undeclared (first use in this function)
setup_signals(SIG_DFL);
^
cc1: all warnings being treated as errors
next parent reply other threads:[~2015-06-26 16:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Z8W6A-0004wB-68@xenbits.xen.org>
2015-06-26 16:44 ` Ian Campbell [this message]
2015-06-26 16:46 ` [Xen-staging] [xen staging] libxl: ao abort: Handle SIGTERM in save/restore helper Ian Jackson
2015-06-26 17:26 ` [PATCH] libxl: Add missing #include of <signal.h> Ian Jackson
2015-06-26 17:27 ` Ian Jackson
2015-06-26 18:23 ` Roger Pau Monné
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=1435337091.32500.211.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.