<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Lu Jingdong
[mailto:jingdong.lu@windriver.com] <br>
<b>Sent:</b> Wednesday, March 09, 2011 1:45 AM<br>
<b>To:</b> Kamble, Nitin A<br>
<b>Cc:</b> poky@yoctoproject.org; openembedded-core@lists.openembedded.org;
Khem Raj<br>
<b>Subject:</b> Re: [PATCH 1/1] gcc-runtime: fix LSB library checks for
libstdc++.so.6<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><tt><span style='font-size:10.0pt'>On 03/09/2011 09:26 AM,
Nitin A Kamble wrote:</span></tt> <o:p></o:p></p>

<pre>&nbsp;.../recipes-devtools/gcc/gcc-configure-runtime.inc |&nbsp;&nbsp;&nbsp; 3 +++<o:p></o:p></pre><pre> meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; 2 +-<o:p></o:p></pre><pre> 2 files changed, 4 insertions(+), 1 deletions(-)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc<o:p></o:p></pre><pre>index 6cc11e2..2d214af 100644<o:p></o:p></pre><pre>--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc<o:p></o:p></pre><pre>+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc<o:p></o:p></pre><pre>@@ -1,5 +1,8 @@<o:p></o:p></pre><pre> require gcc-configure-common.inc<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>+CXXFLAGS = &quot;${@oe_filter_out('-fvisibility-inlines-hidden',<o:p></o:p></pre><pre>+'${CXXFLAGS}', d)}&quot; <o:p></o:p></pre><pre>+<o:p></o:p></pre>

<p class=MsoNormal><tt><span style='font-size:10.0pt'>I think it should be </span></tt><br>
<br>
<o:p></o:p></p>

<pre>CXXFLAGS <b>:=</b> &quot;${@oe_filter_out('-fvisibility-inlines-hidden',<o:p></o:p></pre><pre>'${CXXFLAGS}', d)}&quot; <o:p></o:p></pre><pre><span
style='color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sorry about that.<o:p></o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Nitin<o:p></o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre>otherwise it will give the following error log.<o:p></o:p></pre><pre>NOTE: Error expanding variable CXXFLAGS###############################################################&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | ETA:&nbsp; 00:00:00<o:p></o:p></pre><pre>ERROR: Error parsing xxx.../xxx.bb: variable CXXFLAGS references itself!<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>It is ok in python, but bitbake/lib/bb/data_smart.py will check it and it will cause error.<o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>&nbsp;EXTRA_OECONF_PATHS = &quot; \<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp;&nbsp; --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp;&nbsp; --with-gxx-include-dir=${includedir}/c++/ \<o:p></o:p></pre><pre>diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb<o:p></o:p></pre><pre>index 093f9bf..c1e680d 100644<o:p></o:p></pre><pre>--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb<o:p></o:p></pre><pre>+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb<o:p></o:p></pre><pre>@@ -1,4 +1,4 @@<o:p></o:p></pre><pre>-PR = &quot;r2&quot;<o:p></o:p></pre><pre>+PR = &quot;r3&quot;<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>&nbsp;require gcc-${PV}.inc<o:p></o:p></pre><pre> require gcc-configure-runtime.inc<o:p></o:p></pre></blockquote>

<p class=MsoNormal><br>
<br>
<br>
<o:p></o:p></p>

<pre>-- <o:p></o:p></pre><pre>Lu Jingdong<o:p></o:p></pre><pre><a
href="mailto:jingdong.lu@windriver.com">jingdong.lu@windriver.com</a><o:p></o:p></pre><pre>China, Wind River<o:p></o:p></pre></div>

</div>

</body>

</html>