From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [meta-oe][PATCH] php: Fix native build due mistakenly linking against host's iconv
Date: Thu, 28 Aug 2014 11:26:05 +0200 [thread overview]
Message-ID: <20140828092605.GA16066@jama> (raw)
In-Reply-To: <53FE9607.3000203@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]
On Wed, Aug 27, 2014 at 07:37:59PM -0700, akuster808 wrote:
>
> Acked-by: Armin Kuster <akuster808@gmail.com>
Is this for "for-daisy" one?
> On 08/24/2014 12:39 PM, Otavio Salvador wrote:
> > The configure script has mistakenly choose to enable iconv support,
> > due host to provide it, adding '/usr/lib' to the linking flags and
> > failing as:
> >
> > ,----[ Linking error while testing 'fork' support ]
> > | conftest.c:268: warning: conflicting types for built-in function 'fork'
> > | .../build/tmp/sysroots/x86_64-linux/usr/lib/libxml2.so:
> > | undefined reference to `gzopen64@ZLIB_1.2.3.3'
> > | collect2: ld returned 1 exit status
> > `----
> >
> > This patch disables iconv support for native builds fixing the error.
> >
> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> > ---
> > meta-oe/recipes-devtools/php/php.inc | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
> > index 030c090..6bdae78 100644
> > --- a/meta-oe/recipes-devtools/php/php.inc
> > +++ b/meta-oe/recipes-devtools/php/php.inc
> > @@ -35,6 +35,7 @@ EXTRA_OECONF = "--enable-mbstring \
> > "
> > EXTRA_OECONF_virtclass-native = " \
> > --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \
> > + --without-iconv \
> > ${COMMON_EXTRA_OECONF} \
> > "
> >
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
prev parent reply other threads:[~2014-08-28 9:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-24 19:39 [meta-oe][PATCH] php: Fix native build due mistakenly linking against host's iconv Otavio Salvador
2014-08-24 19:45 ` Otavio Salvador
2014-08-24 20:36 ` Martin Jansa
2014-08-28 2:37 ` akuster808
2014-08-28 9:26 ` Martin Jansa [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=20140828092605.GA16066@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
/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