Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/pppd: disable for musl toolchains
Date: Sat, 16 Jul 2016 20:24:34 +0200	[thread overview]
Message-ID: <20160716202434.0a3a6440@free-electrons.com> (raw)
In-Reply-To: <1468685298-29083-1-git-send-email-romain.naour@gmail.com>

Hello,

On Sat, 16 Jul 2016 18:08:18 +0200, Romain Naour wrote:
> For the same reason as for ipsec-tools [1], disable pppd for musl
> toolchains.
> It also include <sys/cdefs.h> which is not provided by musl [2].
> 
> This fixes a compilation error with musl libc because of undeclared
> __P and missing sys/cdefs.h include.
> 
> Propagate the dependency to network-manager and rp-pppoe
> packages.
> 
> [1] 33499484e457018203023cdfdd5286478f2ae381
> [2] http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  package/network-manager/Config.in | 1 +
>  package/pppd/Config.in            | 5 +++--
>  package/rp-pppoe/Config.in        | 5 +++--
>  3 files changed, 7 insertions(+), 4 deletions(-)

I've added a Config.in comment in the network-manager package, and
applied. Thanks!

It's a bit sad that we have to disable packages just because of silly
__P macros, but there are indeed tons of them in pppd :-/

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

  reply	other threads:[~2016-07-16 18:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-16 16:08 [Buildroot] [PATCH] package/pppd: disable for musl toolchains Romain Naour
2016-07-16 18:24 ` Thomas Petazzoni [this message]
2016-07-16 18:33   ` Romain Naour
2016-08-19  5:44     ` Yegor Yefremov

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=20160716202434.0a3a6440@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox