Autobuilder reports build failure of poky-image-lsb on qemu mips part of the error log is: ERROR: Task failed: ('function do_compile failed', '/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/tcl-8.5.8-r2/temp/log.do_compile.4655') 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"." -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=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -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=\"iso8859-1\" -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -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 'TclInitDoubleConversion': | /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 'mipsCR' isn'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 'get_fpc_csr' | /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 'set_fpc_csr' | /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 'mipsCR' | 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: ('function do_compile failed', '/srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/mips-poky-linux/setserial-2.17-r2/temp/log.do_compile.13944') 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=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 > setserial.cat | setserial.c: In function 'get_multiport': | setserial.c:249: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'set_multiport': | setserial.c:271: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:281: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:338: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:342: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'print_hayesesp': | setserial.c:362: error: storage size of 'esp' isn't known | setserial.c: In function 'set_hayesesp': | setserial.c:378: error: storage size of 'esp' isn't known | setserial.c:384: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:410: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'set_serial': | setserial.c:488: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:494: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:512: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:516: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:520: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:541: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:571: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:575: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:579: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:585: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:592: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:608: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:613: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'do_wild_intr': | setserial.c:628: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:632: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:636: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'usage': | setserial.c:714: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c: In function 'main': | setserial.c:749: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:764: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:770: warning: incompatible implicit declaration of built-in function 'exit' | setserial.c:776: warning: incompatible implicit declaration of built-in function 'exit' | 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
Hi Nitin, We observed this build error on qemu mips, don'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
I tried doing this, and it did not give any errors: machine=qemumips bitbake tcl
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
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.
Verified this issue since qemumips poky-image-lsb build is green on autobuilder.