<?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>878</bug_id>
          
          <creation_ts>2011-03-15 18:37:23 +0000</creation_ts>
          <short_desc>x86-64 cross toolchain build project cvs fails</short_desc>
          <delta_ts>2011-04-04 10:55:28 +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>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>12660</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-15 18:37:23 +0000</bug_when>
    <thetext>When cross compiling cvs project for x86-64, it fails. Error log is pasted below.

Strangely for other archs, it works fine. Also, it could be compiled normally on i686/x86-64 host.

If you don&apos;t have the test project, please goto fetch it from

http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/cvs.html


Thanks &amp; Regards,
criping

make  all-recursive
make[1]: Entering directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23&apos;
Making all in lib
make[2]: Entering directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23/lib&apos;
x86_64-poky-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -m64 --sysroot=/opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux -MT getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c
In file included from getline.c:25:0:
getline.h:15:3: error: conflicting types for &apos;getline&apos;
/opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux/usr/include/stdio.h:671:20: note: previous declaration of &apos;getline&apos; was here
getline.c:158:1: error: conflicting types for &apos;getline&apos;
/opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux/usr/include/stdio.h:671:20: note: previous declaration of &apos;getline&apos; was here
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23/lib&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23&apos;
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12664</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-15 18:49:27 +0000</bug_when>
    <thetext>An update:

It can&apos;t be compiled on x86-64 host also.

So, it should not be poky bug. 

It&apos;s well possible that the cvs code isn&apos;t not well written.

Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13118</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-04-04 10:55:28 +0000</bug_when>
    <thetext>Seems a CVS issue instead of Yocto issue, probably time to update the test programs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>