Zhenhua Luo : libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs
A message that is not in the archive (sent off-list or not yet received): 20121203144922.E2C7010361@opal
Quoted 26 lines · On Mon, Dec 03, 2012 at 02:49:22PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: ff5552a8432298c32aec2ace72656b0d7059dad3 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ff5552a8432298c32aec2ace72656b0d7059dad3Author: Zhenhua Luo <[email protected]> Date: Fri Nov 30 08:31:57 2012 +0000libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs
Without this flag, the library has a problem with C++ programs using exception handling.
Signed-off-by Zhenhua Luo <[email protected]>Signed-off-by Saul Wold <[email protected]>Signed-off-by Richard Purdie <[email protected]>---
meta/recipes-core/libxml/libxml2.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)meta/recipes-core/libxml/libxml2.inc +0
-0
meta/recipes-core/libxml/libxml2.inc LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \ · line 13
Quoted 5 lines
meta/recipes-core/libxml/libxml2.inc +2
-0@@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \ file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \ file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e" +INC_PR = "r1" +
This does not help at all.
opembedded-core/meta/recipes-core/libxml $ grep -R PR.= . ./libxml2.inc:INC_PR = "r1" ./libxml2_2.9.0.bb:PR = "r0"
Change PR in ./libxml2_2.9.0.bb to PR = "${INC_PR}.0" if you want to use INC_PR.
Cheers,
Quoted 18 lines
meta/recipes-core/libxml/libxml2.inc +1
-1DEPENDS_class-native = "python-native" DEPENDS =+ "zlib"@@ -24,7 +26,7 @@ do_configure_prepend () { sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in } -EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma" +EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma"_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Thanks for the comment, I will submit a patch to fix it.
Best Regards,
Zhenhua
Quoted 91 lines
-----Original Message-----
From: Martin Jansa [mailto:[email protected]]
Sent: Tuesday, December 04, 2012 5:26 PM
To: Luo Zhenhua-B19537
Cc: [email protected]; openembedded- [email protected]
Subject: Re: [oe-commits] Zhenhua Luo : libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programsQuoted 4 lines · On Mon, Dec 03, 2012 at 02:49:22PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: ff5552a8432298c32aec2ace72656b0d7059dad3 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ff5552a8432298c32aec2ace72656b0d7059dad3
Quoted 8 lines
Author: Zhenhua Luo <[email protected]> Date: Fri Nov 30 08:31:57 2012 +0000libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs
Without this flag, the library has a problem with C++ programs using
exception handling.
meta/recipes-core/libxml/libxml2.inc LIC_FILES_CHKSUM =
Quoted 16 lines
Signed-off-by Zhenhua Luo <[email protected]>Signed-off-by Saul Wold <[email protected]>Signed-off-by Richard Purdie <[email protected]>---
meta/recipes-core/libxml/libxml2.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)meta/recipes-core/libxml/libxml2.inc +0
-0@@ -9,6 +9,8 @@ LIC_FILES_CHKSUM ="file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
Quoted 1 line
file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \
Quoted 1 line
file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e "
meta/recipes-core/libxml/libxml2.inc
Quoted 3 lines
meta/recipes-core/libxml/libxml2.inc +2
-0+INC_PR = "r1" +This does not help at all.
opembedded-core/meta/recipes-core/libxml $ grep -R PR.= . ./libxml2.inc:INC_PR = "r1" ./libxml2_2.9.0.bb:PR = "r0"
Change PR in ./libxml2_2.9.0.bb to PR = "${INC_PR}.0" if you want to use
INC_PR.Cheers,
meta/recipes-core/libxml/libxml2.inc do_configure_prepend () { · line 26
Quoted 7 lines
DEPENDS_class-native = "python-native"
DEPENDS =+ "zlib"meta/recipes-core/libxml/libxml2.inc +0
-1@@ -24,7 +26,7 @@ do_configure_prepend () { sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in } -EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma"
meta/recipes-core/libxml/libxml2.inc do_configure_prepend () { · line 28
Quoted 1 line
meta/recipes-core/libxml/libxml2.inc +1
-0+EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma --with- fexceptions"
meta/recipes-core/libxml/libxml2.inc do_configure_prepend () { · line 29
Quoted 1 line
meta/recipes-core/libxml/libxml2.inc +0
-0EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without- lzma"
meta/recipes-core/libxml/libxml2.inc do_configure_prepend () { · line 30
Quoted 1 line
meta/recipes-core/libxml/libxml2.inc +0
-0EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python--without-legacy --with-catalog --without-docbook --with-c14n --without- lzma"
meta/recipes-core/libxml/libxml2.inc do_configure_prepend () { · line 31
Quoted 1 line
meta/recipes-core/libxml/libxml2.inc +0
-0EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma"
Quoted 7 lines
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commi
ts--
Martin 'JaMa' Jansa jabber: [email protected]