<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>179</bug_id>
          
          <creation_ts>2010-08-03 00:03:15 +0000</creation_ts>
          <short_desc>when parse netbook environment script, error happens when creating c project</short_desc>
          <delta_ts>2010-12-21 05:59:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>sgw</cc>
    
    <cc>yongkang.you</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9215</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-03 00:03:15 +0000</bug_when>
    <thetext>When create a c yocto project (empty or not), when parsing netbook environment files, it will show messed up CXXFLAGS and CFLAGS under autotools-&gt;configure settings-&gt;Command. Please help to verify in your environment.

The simple reproduce step is to build a netbook sdk and point to that /opt/poky.

paste environment files in my machine:


export PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/bin:$PATH
export PKG_CONFIG_SYSROOT_DIR=/opt/poky/sysroots/i586-poky-linux
export PKG_CONFIG_PATH=/opt/poky/sysroots/i586-poky-linux/usr/lib/pkgconfig
export CONFIG_SITE=/opt/poky/site-config-i586-poky-linux
export CC=i586-poky-linux-gcc
export CXX=i586-poky-linux-g++
export CONFIGURE_FLAGS=&quot;--target=i586-poky-linux --host=i586-poky-linux --build=i586-linux&quot;
export CFLAGS=&quot;-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse&quot;
export CXXFLAGS=&quot;-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse&quot;
alias opkg=&apos;LD_LIBRARY_PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/lib /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/opkg-cl -f /opt/poky/sysroots/i586-pokysdk-linux//etc/opkg-sdk.conf -o /opt/poky/sysroots/i586-pokysdk-linux&apos;
alias opkg-target=&apos;LD_LIBRARY_PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/lib /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/opkg-cl -f /opt/poky/sysroots/i586-poky-linux/etc/opkg.conf -o /opt/poky/sysroots/i586-poky-linux&apos;


criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9216</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-03 00:05:15 +0000</bug_when>
    <thetext>For qemu-x86, everything is just fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9217</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-03 00:42:31 +0000</bug_when>
    <thetext>This phenomenon happens because of the old existing legacy yocto projects. When I clear the whole environment, everything is fine. 

Thanks.
criping</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>