[poky] [PATCH 1/1] gcc-runtime: fix LSB library checks for libstdc++.so.6
Kamble, Nitin A
nitin.a.kamble at intel.com
Wed Mar 9 13:31:40 PST 2011
From: Lu Jingdong [mailto:jingdong.lu at windriver.com]
Sent: Wednesday, March 09, 2011 1:45 AM
To: Kamble, Nitin A
Cc: poky at yoctoproject.org; openembedded-core at lists.openembedded.org; Khem Raj
Subject: Re: [PATCH 1/1] gcc-runtime: fix LSB library checks for libstdc++.so.6
On 03/09/2011 09:26 AM, Nitin A Kamble wrote:
.../recipes-devtools/gcc/gcc-configure-runtime.inc | 3 +++
meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index 6cc11e2..2d214af 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -1,5 +1,8 @@
require gcc-configure-common.inc
+CXXFLAGS = "${@oe_filter_out('-fvisibility-inlines-hidden',
+'${CXXFLAGS}', d)}"
+
I think it should be
CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden',
'${CXXFLAGS}', d)}"
This is correct. I also saw the bellow error and I have tested with := only. But missed merging the change back to the commit before pushing.
Sorry about that.
Thanks,
Nitin
otherwise it will give the following error log.
NOTE: Error expanding variable CXXFLAGS############################################################### | ETA: 00:00:00
ERROR: Error parsing xxx.../xxx.bb: variable CXXFLAGS references itself!
It is ok in python, but bitbake/lib/bb/data_smart.py will check it and it will cause error.
EXTRA_OECONF_PATHS = " \
--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
--with-gxx-include-dir=${includedir}/c++/ \
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
index 093f9bf..c1e680d 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
require gcc-${PV}.inc
require gcc-configure-runtime.inc
--
Lu Jingdong
jingdong.lu at windriver.com<mailto:jingdong.lu at windriver.com>
China, Wind River
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110309/2950a889/attachment.html>
More information about the poky
mailing list