All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] sysklogd: add patch to fix build with glibc 2.24
Date: Sun, 9 Oct 2016 22:43:02 +0200	[thread overview]
Message-ID: <20161009224302.7639a434@free-electrons.com> (raw)
In-Reply-To: <20161008035232.24677-1-bluemrp9@gmail.com>

Hello,

On Fri,  7 Oct 2016 20:52:32 -0700, Ryan Coe wrote:
> Building sysklogd with glibc 2.24 fails with the following error:
> 
> syslogd.c: In function ?reapchild?:
> syslogd.c:2097:13: error: storage size of ?status? isn?t known
>   union wait status;
>              ^
> Makefile:99: recipe for target 'syslogd.o' failed
> make[2]: *** [syslogd.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> package/pkg-generic.mk:201: recipe for target './buildroot/output/build/sysklogd-1.5.1/.stamp_built' failed
> make[1]: *** [./buildroot/output/build/sysklogd-1.5.1/.stamp_built] Error 2
> Makefile:41: recipe for target '_all' failed
> make: *** [_all] Error 2
> 
> union wait was marked deprecated in glibc 2.23 and removed in glibc 2.24.
> The fix is to declare it as an int.
> 
> See https://sourceware.org/ml/libc-alpha/2016-02/msg00342.html
> 
> Sent upstream via their mailing list
> 
> Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
> ---
>  ...01-replace-deprecated-union-wait-with-int.patch | 25 ++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 package/sysklogd/0001-replace-deprecated-union-wait-with-int.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2016-10-09 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08  3:52 [Buildroot] [PATCH 1/1] sysklogd: add patch to fix build with glibc 2.24 Ryan Coe
2016-10-09 20:43 ` Thomas Petazzoni [this message]

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=20161009224302.7639a434@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.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 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.