All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 4/9] package/asterisk: enable for uclibc toolchains
Date: Sun, 9 Dec 2018 22:24:57 +0100	[thread overview]
Message-ID: <20181209222457.25c3f49c@windsurf> (raw)
In-Reply-To: <20181014090202.31122-4-bernd.kuhls@t-online.de>

Hello,

On Sun, 14 Oct 2018 11:01:56 +0200, Bernd Kuhls wrote:
> This patch extends the configure checks for re-entrant resolver
> functions to fix uclibc builds.
> 
> Quoting Yann:
> http://lists.busybox.net/pipermail/buildroot/2017-September/203004.html
> 
> "As a final stroke of genius, asterisk checks for the re-entrant variant
> of res_ninit(), and concludes that all such functions are available,
> including res_nsearch(). Uclibc-ng has the former but not the latter, so
> the build fails. Since there is no cache variable for that check, we
> can't pre-feed that result to configure, and fixing it is a bigger
> endeavour. So we make asterisk depend on glibc for now, until someone
> is brave enough to fix it."
> 
> Musl builds are still broken:
> 
> output/build/asterisk-16.0.0/include/asterisk/astmm.h:165:35:
>  error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?->? token
>   Do_not_use_calloc__use_ast_calloc->fail(a, b)
> 
> output/build/asterisk-16.0.0/include/asterisk/astmm.h:169:77:
>  error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?->? token
>   Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v3: restricted to uclibc, musl is still broken
> v2: Replaced sed hack with configure.ac patch (Yann, Arnout, Thomas)
>     patch upstream status: pending, waiting for CLA approval:
>     https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-12-09 21:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14  9:01 [Buildroot] [PATCH v3 1/9] DEVELOPERS: add myself for asterisk Bernd Kuhls
2018-10-14  9:01 ` [Buildroot] [PATCH v3 2/9] package/asterisk: libsrtp needs openssl Bernd Kuhls
2018-12-06 22:17   ` Thomas Petazzoni
2018-12-09 21:24   ` Thomas Petazzoni
2018-12-16 20:02     ` Peter Korsgaard
2018-10-14  9:01 ` [Buildroot] [PATCH v3 3/9] package/asterisk: bump version to 16.0.0 Bernd Kuhls
2018-12-09 21:24   ` Thomas Petazzoni
2018-10-14  9:01 ` [Buildroot] [PATCH v3 4/9] package/asterisk: enable for uclibc toolchains Bernd Kuhls
2018-12-09 21:24   ` Thomas Petazzoni [this message]
2018-10-14  9:01 ` [Buildroot] [PATCH v3 5/9] package/libpjsip: disable build of test binaries Bernd Kuhls
2018-12-09 21:25   ` Thomas Petazzoni
2018-10-14  9:01 ` [Buildroot] [PATCH v3 6/9] package/libpjsip: add Asterisk patch set Bernd Kuhls
2018-10-14 12:46   ` Thomas Petazzoni
2018-12-09 21:25     ` Thomas Petazzoni
2018-10-14  9:01 ` [Buildroot] [PATCH v3 7/9] package/libpjsip: add optional dependency to speex Bernd Kuhls
2018-12-09 21:25   ` Thomas Petazzoni
2018-10-14  9:02 ` [Buildroot] [PATCH v3 8/9] package/libpjsip: add optional dependency to libgsm Bernd Kuhls
2018-12-09 21:25   ` Thomas Petazzoni
2018-10-14  9:02 ` [Buildroot] [PATCH v3 9/9] package/asterisk: add optional dependency to libpjsip Bernd Kuhls
2018-12-03 22:10 ` [Buildroot] [PATCH v3 1/9] DEVELOPERS: add myself for asterisk Thomas Petazzoni

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=20181209222457.25c3f49c@windsurf \
    --to=thomas.petazzoni@bootlin.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.