[poky] [denzil][meta-ti] Problems building compiler for Pandaboard

Gary Thomas gary at mlbassoc.com
Thu Aug 9 10:32:21 PDT 2012


On 2012-08-09 11:26, Luke A. Guest wrote:
> Hi,
>
> I was originally trying to build for Gumstix Overo IronStorm board using
> the MACHINE ??= "overo-storm", this failed
> (https://bugzilla.yoctoproject.org/show_bug.cgi?id=2924), so I thought
> I'd try a build for my Pandaboard ES.
>
> There's no ES specific version yet, but I thought I'd try to build using
> MACHINE = "pandaboard" - I don't know if the ??= or = should make a
> difference, I was told not. But now this is failing in
> gcc-cross-initial-4.6.3+svnr184847-r25:
>
> | for file
> in .. /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/float.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/iso646.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdarg.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdbool.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stddef.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/varargs.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdfix.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/mmintrin.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/
 gc
>   c/config/arm/arm_neon.h; do \
> | 	  if [ X$file != X.. ]; then \
> | 	    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
> | 	    echo timestamp > include/$realfile; \
> | 	    rm -f include/$realfile; \
> | 	    cp $file include; \
> | 	    chmod a+r include/$realfile; \
> | 	  fi; \
> | 	done
> | for file in .. ; do \
> | 	  if [ X$file != X.. ]; then \
> |             mv include/$file include/x_$file; \
> |             echo "#include_next <$file>" >include/$file; \
> |             cat include/x_$file >>include/$file; \
> |             rm -f include/x_$file; \
> | 	    chmod a+r include/$file; \
> | 	  fi; \
> | 	done
> | for file in .. ; do \
> | 	  if [ X$file != X.. ]; then \
> | 	    echo "#include_next <$file>" >>include/$file; \
> | 	    chmod a+r include/$file; \
> | 	  fi; \
> | 	done
> | rm -f include/unwind.h
> | cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/config/arm/unwind-arm.h
> include/unwind.h
> | chmod a+r include/unwind.h
> | rm -f include/stdint.h
> | if [ wrap = wrap ]; then \
> | 	  rm -f include/stdint-gcc.h; \
> |
> cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h
> include/stdint-gcc.h; \
> | 	  chmod a+r include/stdint-gcc.h; \
> |
> cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-wrap.h
> include/stdint.h; \
> | 	  chmod a+r include/stdint.h; \
> | 	elif [ wrap = provide ]; then \
> |
> cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h
> include/stdint.h; \
> | 	  chmod a+r include/stdint.h; \
> | 	fi
> | set -e; for ml in `cat fixinc_list`; do \
> | 	  sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
> | 	  multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
> | 	  fix_dir=include-fixed${multi_dir}; \
> | 	  if [ -f
> `echo /home/laguest/src/others/poky/poky-build/tmp/sysroots/pandaboard
> ${sysroot_headers_suffix}/usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,'
> -e ta`/limits.h ] ; then \
> |
> cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/limitx.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/glimits.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/limity.h > tmp-xlimits.h; \
> | 	  else \
> |
> cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/glimits.h > tmp-xlimits.h; \
> | 	  fi; \
> |
> 	  /bin/sh /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/../mkinstalldirs ${fix_dir}; \
> | 	  chmod a+rx ${fix_dir} || true; \
> | 	  rm -f ${fix_dir}/limits.h; \
> | 	  mv tmp-xlimits.h ${fix_dir}/limits.h; \
> | 	  chmod a+r ${fix_dir}/limits.h; \
> | 	done
> | rm -f include-fixed/README
> | cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
> +svnr184847-r25/gcc-4_6-branch/gcc/../fixincludes/README-fixinc
> include-fixed/README
> | chmod a+r include-fixed/README
> | echo timestamp > stmp-int-hdrs
> | make[2]: Leaving directory
> `/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/gcc'
> | Checking multilib configuration for libgcc...
> | Configuring in arm-poky-linux-gnueabi/libgcc
> | configure: loading cache ./config.cache
> | configure: error: `CC' has changed since the previous run:
> | configure:   former value:
> `/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-brERROR: Function failed: do_compile (see /home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/temp/log.do_compile.24746 for further information)
> | anch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/xgcc
> -B/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/ -march=armv7-a -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -isystem/home/laguest/src/others/poky/poky-build/tmp/sysroots/overo-storm/usr/include -B/home/laguest/src/others/poky/poky-build/tmp/sysroots/x86_64-linux/usr/a
> NOTE: package gcc-cross-initial-4.6.3+svnr184847-r25: task do_compile:
> Failed
> ERROR: Task 1323
> (/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile) failed with exit code '1'
> Waiting for 1 running tasks to finish:
> 0: linux-libc-headers-3.2-r1 do_package (pid 6063)
> NOTE: package linux-libc-headers-3.2-r1: task do_package: Succeeded
> NOTE: Tasks Summary: Attempted 363 tasks of which 351 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>    /home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile
> Summary: There were 3 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.
>
> Can anybody help me get started with this? I've only been able to build
> an qemux86 image so far which is not that useful for real boards.

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run
it again.  The error you are seeing is related to reusing the same tree
with [somewhat] different target machines.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list