All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] php: fix emalloc/efree/estrdup/... undefined references
Date: Mon, 9 Apr 2018 11:24:00 +0200	[thread overview]
Message-ID: <20180409112400.48924369@windsurf> (raw)
In-Reply-To: <20180405210622.27836-1-thomas.petazzoni@bootlin.com>

Hello,

On Thu,  5 Apr 2018 23:06:22 +0200, Thomas Petazzoni wrote:
> zend_alloc.h defines some macros such as:
> 
> Where _estrdup is the actual function implemented by the PHP core. If
> this header file is not included, and some code uses estrdup, one ends
> up with an undefined reference. This happens when libexpat support is
> enabled. This commit adds a PHP patch that fixes this issue. The patch
> has been submitted upstream through a Github pull request.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/889d2c1f509c035cd506e36061939bfddc8f1500/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  ...-expat_compat.h-add-missing-php.h-include.patch | 71 ++++++++++++++++++++++
>  1 file changed, 71 insertions(+)
>  create mode 100644 package/php/0009-ext-xml-expat_compat.h-add-missing-php.h-include.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-04-09  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 21:06 [Buildroot] [PATCH] php: fix emalloc/efree/estrdup/... undefined references Thomas Petazzoni
2018-04-09  9:24 ` Thomas Petazzoni [this message]
2018-04-09 15:50 ` Peter Korsgaard

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=20180409112400.48924369@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.