<?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>244</bug_id>
          
          <creation_ts>2010-08-29 22:23:23 +0000</creation_ts>
          <short_desc>poky-image-lsb build failure on qemu mips</short_desc>
          <delta_ts>2010-12-21 06:07:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>mips</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dongxiao Xu">dongxiao.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>9458</commentid>
    <comment_count>0</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-08-29 22:23:23 +0000</bug_when>
    <thetext>Autobuilder reports build failure of poky-image-lsb on qemu mips

part of the error log is:

ERROR: Task failed: (&apos;function do_compile failed&apos;, &apos;/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/temp/log.do_compile.4655&apos;)
ERROR: Logfile of failure stored in: /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/temp/log.do_compile.4655
| mips-poky-linux-gcc -march=mips32 --sysroot=/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/sysroots/mips-poky-linux -c -O2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -pipe  -Wall -fPIC -I&quot;.&quot; -I/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../unix -I/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic -I/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../libtommath -DPACKAGE_NAME=\&quot;tcl\&quot; -DPACKAGE_TARNAME=\&quot;tcl\&quot; -DPACKAGE_VERSION=\&quot;8.5\&quot; -DPACKAGE_STRING=\&quot;tcl\ 8.5\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\&quot;iso8859-1\&quot; -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\&quot;hidden\&quot;\)\)\) -DTCL_SHLIB_EXT=\&quot;.so\&quot; -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DTCL_CROSS_COMPILE=1       /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclThread.c
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c:77:21: error: sys/fpu.h: No such file or directory
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c: In function &apos;TclInitDoubleConversion&apos;:
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c:2170: error: storage size of &apos;mipsCR&apos; isn&apos;t known
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c:2172: warning: implicit declaration of function &apos;get_fpc_csr&apos;
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c:2174: warning: implicit declaration of function &apos;set_fpc_csr&apos;
| /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/tcl8.5.8/unix/../generic/tclStrToD.c:2170: warning: unused variable &apos;mipsCR&apos;
| make: *** [tclStrToD.o] Error 1
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed
NOTE: package tcl-8.5.8-r2: task do_compile: Failed
ERROR: Task 3013 (/srv/home/pokybuild/poky-slave/nightly-release/build/meta/recipes-devtools/tcltk/tcl_8.5.8.bb, do_compile) failed with 1


ERROR: Task failed: (&apos;function do_compile failed&apos;, &apos;/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/setserial-2.17-r2/temp/log.do_compile.13944&apos;)
ERROR: Logfile of failure stored in: /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/setserial-2.17-r2/temp/log.do_compile.13944
Log data follows:
| NOTE: make -j 15
| mips-poky-linux-gcc -march=mips32 --sysroot=/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/sysroots/mips-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -DPACKAGE_NAME=\&quot;\&quot; -DPACKAGE_TARNAME=\&quot;\&quot; -DPACKAGE_VERSION=\&quot;\&quot; -DPACKAGE_STRING=\&quot;\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DPACKAGE_URL=\&quot;\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ASM_IOCTLS_H=1 -I. setserial.c -o setserial
| nroff -man setserial.8 &gt; setserial.cat
| setserial.c: In function &apos;get_multiport&apos;:
| setserial.c:249: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;set_multiport&apos;:
| setserial.c:271: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:281: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:338: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:342: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;print_hayesesp&apos;:
| setserial.c:362: error: storage size of &apos;esp&apos; isn&apos;t known
| setserial.c: In function &apos;set_hayesesp&apos;:
| setserial.c:378: error: storage size of &apos;esp&apos; isn&apos;t known
| setserial.c:384: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:410: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;set_serial&apos;:
| setserial.c:488: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:494: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:512: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:516: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:520: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:541: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:571: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:575: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:579: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:585: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:592: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:608: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:613: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;do_wild_intr&apos;:
| setserial.c:628: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:632: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:636: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;usage&apos;:
| setserial.c:714: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c: In function &apos;main&apos;:
| setserial.c:749: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:764: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:770: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| setserial.c:776: warning: incompatible implicit declaration of built-in function &apos;exit&apos;
| make: *** [setserial] Error 1
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed
NOTE: package setserial-2.17-r2: task do_compile: Failed
ERROR: Task 2901 (/srv/home/pokybuild/poky-slave/nightly-release/build/meta/packages/setserial/setserial_2.17.bb, do_compile) failed with 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9464</commentid>
    <comment_count>1</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-08-30 01:31:21 +0000</bug_when>
    <thetext>Hi Nitin,

We observed this build error on qemu mips, don&apos;t know whether it is related with tcl. Could you help to have a check? Currently I am looking on another build issue. 

Thanks,
Dongxiao</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9479</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-31 13:29:25 +0000</bug_when>
    <thetext>I tried doing this, and it did not give any errors:

machine=qemumips bitbake tcl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9485</commentid>
    <comment_count>3</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-08-31 19:56:25 +0000</bug_when>
    <thetext>Nitin, you can have a look at the latest autobuilder error log for qemumips
poky-image-lsb, it still failed. See the following link:

http://autobuilder.pokylinux.org:8010/waterfall</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9587</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-03 09:06:46 +0000</bug_when>
    <thetext>The problem was with mips the HAYSEESP Icotl were defined in a arch specific asm/ioctls.h, by removing these ioctl, which are no longer part of the system, we fixed the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10573</commentid>
    <comment_count>5</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-10-14 18:52:42 +0000</bug_when>
    <thetext>Verified this issue since qemumips poky-image-lsb build is green on autobuilder.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>