[meta-xilinx] MicroBlaze toolchain warping script
Elvis Dowson
elvis.dowson at gmail.com
Tue Apr 2 10:42:26 PDT 2013
Hi,
Explicitly specifying PREFERRED_PROVIDERS in my local.conf file allowed the build to proceed, but currently fails at trying to compile libtool-cross_2.4.2.bb
# Set the toolchain mode to external Xilinx toolchain pre-compiled binary.
TCMODE = "external-csl"
CSL_TARGET_SYS_microblazeel = "microblazeel-unknown-linux-gnu"
EXTERNAL_TOOLCHAIN = "/tool/xilinx/gnu/microblazeel-unknown-linux-gnu"
EXTERNAL_TOOLCHAIN_SYSROOT = "/tool/xilinx/gnu/microblazeel-unknown-linux-gnu/microblazeel-unknown-linux-gnu/libc"
#NO32LIBS = "0"
PREFERRED_PROVIDER_linux-libc-headers = "external-sourcery-toolchain"
PREFERRED_PROVIDER_linux-libc-headers-dev = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "external-sourcery-toolchain"
PREFERRED_PROVIDER_libgcc = "external-sourcery-toolchain"
PREFERRED_PROVIDER_eglibc = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/libc = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/libintl = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/libiconv = "external-sourcery-toolchain"
PREFERRED_PROVIDER_glibc-thread-db = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-sourcery-toolchain"
PREFERRED_PROVIDER_virtual/linux-libc-headers-dev = "external-sourcery-toolchain"
PREFERRED_PROVIDER_gdbserver = "external-sourcery-toolchain"
#PREFERRED_PROVIDER_virtual/gettext = "gettext"
# No need to re-compile the locale files
GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
ENABLE_BINARY_LOCALE_GENERATION = ""
The build output error is as follows:
Build Configuration:
BB_VERSION = "1.17.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.10"
TARGET_SYS = "microblazeel-poky-linux"
MACHINE = "spartan-6-sp601-microblazeel"
DISTRO = "poky"
DISTRO_VERSION = "1.3+snapshot-20130402"
TUNE_FEATURES = "little-endian fpu-hard"
meta
meta-yocto = "master-xilinx-sp601-gcc-4.8:89226d57107c8240b18dadfde537d12b345f2a30"
meta-xilinx = "master-xilinx-sp601-gcc-4.8:bbe2cb495fdbfc31eea422021548c0c95401c11a"
toolchain-layer = "master-xilinx-sp601-gcc-4.8:525306f575eaa9c85309efade27450214359a780"
meta-sourcery = "master:93b749af70aef5db225b9cd4ef56dc88ed25a42b"
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for runtime linux-libc-headers-dev (linux-libc-headers, linux-libc-headers-yocto)
NOTE: consider defining a PREFERRED_PROVIDER entry to match linux-libc-headers-dev
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/temp/log.do_configure.28247 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/temp/log.do_configure.28247
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'microblaze-common', 'common-linux', 'common-glibc', 'microblazeel-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.12.6
| Copyright (C) 2012 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey at redhat.com>
| and Alexandre Duret-Lutz <adl at gnu.org>.
| AUTOV is 1.12
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/build/aclocal-copy/ --automake-acdir=/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12" autoreconf --verbose --install --force --exclude=libtoolize -I /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/tests/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/build/aclocal-copy/ --automake-acdir=/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/tests/ -I /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/tests/ --force -I libltdl/m4
| autoreconf: configure.ac: tracing
| autoreconf: running: /tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/tests/ --force
| autoreconf: running: /tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/tests/ --force
| autoreconf: running: automake --foreign --add-missing --copy --force-missing
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/configure --build=x86_64-linux --host=microblazeel-poky-linux --target=microblazeel-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/libtool --datadir=/tool/yocto/poky/build/tmp/sysroots/spartan-6-sp601-microblazeel/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/tool/yocto/poky/build/tmp/sysroots/spartan-6-sp601-microblazeel/usr/share/info --mandir=/tool/yocto/poky/build/tmp/sysroots/spartan-6-sp601-microblazeel/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/tool/yocto/poky/build/tmp/sysroots/spartan-6-sp601-microblazeel --with-sysroot
| configure: WARNING: unrecognized options: --disable-silent-rules, --with-sysroot
| configure: loading site script /tool/yocto/poky/meta/site/endian-little
| configure: loading site script /tool/yocto/poky/meta/site/common-linux
| configure: loading site script /tool/yocto/poky/meta/site/common-glibc
| configure: loading site script /tool/yocto/poky/meta/site/common
| configure: loading site script /tool/yocto/meta-xilinx/site/microblaze-common
| ## ------------------------- ##
| ## Configuring libtool 2.4.2 ##
| ## ------------------------- ##
|
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for microblazeel-poky-linux-strip... microblazeel-unknown-linux-gnu-strip
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... Invalid configuration `microblazeel-poky-linux': machine `microblazeel-poky' not recognized
| configure: error: /bin/sh /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/libtool-2.4.2/libltdl/config/config.sub microblazeel-poky-linux failed
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/microblazeel-poky-linux/libtool-cross/2.4.2-r6.1/temp/log.do_configure.28247 for further information)
ERROR: Task 333 (/tool/yocto/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 192 tasks of which 162 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/tool/yocto/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb, do_configure
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
real 2m29.656s
user 9m32.120s
sys 0m38.814s
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20130402/f51df4cc/attachment.html>
More information about the meta-xilinx
mailing list