<?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>1195</bug_id>
          
          <creation_ts>2011-06-24 08:09:18 +0000</creation_ts>
          <short_desc>[mips toolchain] cvs configure fail with no cvs_cv_func_printf_ptr set</short_desc>
          <delta_ts>2011-07-25 19:10:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>wenhuax.fan</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14410</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-06-24 08:09:18 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Poky Commit: 7cd2ac0e40d854bab9a32512018aff6172500c0e

With latest yocto tree, cvs configure fail with i686-mips or x86_64-mips toolchain. The error message is as below. The culprit is that cvs_cv_func_printf_ptr is not set in site/mips-commmon. For other targets, like arm and ppc, it is set for them.

####
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking whether closedir returns void... yes
checking for library containing getspnam... none required
checking whether utime accepts a null argument... no
checking for long file names... yes
checking whether printf supports %p... configure: error: cannot run test program while cross compiling
See `config.log&apos; for more details.
####</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14411</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-06-24 08:57:23 +0000</bug_when>
    <thetext>Seems the following patch from Khem failed to be merged

Module: openembedded.git
Branch: org.openembedded.dev
Commit: df9cb262d95bacb06192dcf69b303e4088557832
URL:    http://gitweb.openembedded.net/?p=openembedded.git&amp;a=commit;h=df9cb262d95bacb06192dcf69b303e4088557832

Author: Khem Raj &lt;raj.khem at gmail.com&gt;
Date:   Fri Jun  4 18:00:56 2010 -0700

site/mips-common: Cache cvs_cv_func_printf_ptr

Signed-off-by: Khem Raj &lt;raj.khem at gmail.com&gt;

---

 site/mips-common |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/site/mips-common b/site/mips-common
index 47a34e2..4b18c84 100644
--- a/site/mips-common
+++ b/site/mips-common
@@ -1,6 +1,9 @@
 ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
 ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
 
+# cvs
+cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
+
 # screen
 screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
 screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14513</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-07-01 10:42:43 +0000</bug_when>
    <thetext>Working with Khem to port his patch from openembedded to oe-core</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14672</commentid>
    <comment_count>3</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-07-11 20:17:58 +0000</bug_when>
    <thetext>Verified with mips toolchain on nightly build 20110709-1, and this bug does NOT occur.

Build location:
http://autobuilder02.yoctoproject.org/nightly/20110709-1/toolchain

Gitinfo:
commit 8df2a558b4d61778a669705b867969abe3514846</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15006</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-25 19:10:40 +0000</bug_when>
    <thetext>mark the bug as verified according to the last comments</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>