1 Reply Latest reply on Aug 13, 2014 8:54 AM by mhahn

    Yocto toolchain build fail for Galileo board (error: 'MULTIPLE_THREADS_OFFSET' undeclared)

    Sweta

      I am trying to compile the cross compiler tool chain on Linux, its getting failure and the log information is given below

      Host system OS : Ubuntu 12.04 64 bit

      Commands: bitbake image-full -c populate_sdk

       

      Error Log information:

      ******************************************************************************************************************************************************************************

      libc/misc/error/err.c:38:2: error: 'MULTIPLE_THREADS_OFFSET' undeclared (first use in this function)

      libc/misc/error/err.c:38:2: note: each undeclared identifier is reported only once for each function it appears in

      make: *** [libc/misc/error/err.o] Error 1

      make: *** Waiting for unfinished jobs....

      i586-poky-linux-uclibc-gcc  -m32 -march=i586 --sysroot=/home/sweta/Myfiles/IntelQuarkBSP/Latest/buildToolChain/meta-clanton_v1.0.1/yocto_build/tmp/sysroots/clanton-tcbootstrap -c libc/misc/internals/h_errno.c -o libc/misc/internals/h_errno.o -Wall -Wstrict-prototypes -Wstrict-aliasing -funsigned-char -fno-builtin -fno-asm -std=gnu99 -m32 -march=i486 -fno-stack-protector -nostdinc -I./include -I./include -include libc-symbols.h -I./libc/sysdeps/linux/i386 -I./libc/sysdeps/linux -I./ldso/ldso/i386 -I./ldso/include -I. -O2 -pipe -g -feliminate-unused-debug-types  -Os -funit-at-a-time -fmerge-all-constants -fstrict-aliasing -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fomit-frame-pointer -m32 -mpreferred-stack-boundary=2 -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_FORCED_UNWIND -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486 -I./libpthread/nptl/sysdeps/unix/sysv/linux/i386 -I./libpthread/nptl/sysdeps/i386 -I./libpthread/nptl/sysdeps/i386 -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./libpthread/nptl/sysdeps/generic -I./libc/sysdeps/linux/common -isystem /home/sweta/Myfiles/IntelQuarkBSP/Latest/buildToolChain/meta-clanton_v1.0.1/yocto_build/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux-uclibc.gcc-cross-initial/gcc/i586-poky-linux-uclibc/4.7.2/include-fixed -isystem /home/sweta/Myfiles/IntelQuarkBSP/Latest/buildToolChain/meta-clanton_v1.0.1/yocto_build/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux-uclibc.gcc-cross-initial/gcc/i586-poky-linux-uclibc/4.7.2/include -I/home/sweta/Myfiles/IntelQuarkBSP/Latest/buildToolChain/meta-clanton_v1.0.1/yocto_build/tmp/sysroots/clanton/usr/include/ -DNDEBUG -D__USE_STDIO_FUTEXES__      -MT libc/misc/internals/h_errno.o -MD -MP -MF libc/misc/internals/.h_errno.o.dep

      libc/misc/fts/fts.c: In function 'fts_build':

      libc/misc/fts/fts.c:580:6: warning: variable 'cderrno' set but not used [-Wunused-but-set-variable]

      ERROR: oe_runmake failed

      ERROR: Function failed: do_compile (see /home/sweta/Myfiles/IntelQuarkBSP/Latest/buildToolChain/meta-clanton_v1.0.1/yocto_build/tmp/work/i586-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4/temp/log.do_compile.4705 for further information)

      ******************************************************************************************************************************************************************************                                                                                                                                                        

      ~