From: Sergei Poselenov <sposelenov@emcraft.com>
To: poky@yoctoproject.org
Cc: 'Vlad' <vlad@emcraft.com>, 'Ilya' <yanok@emcraft.com>
Subject: Poky bernard-5.0 ARM/uclibc meta-toolchain build?
Date: Tue, 26 Apr 2011 19:14:06 +0400 [thread overview]
Message-ID: <20110426191406.0ec4e81f@emcraft.com> (raw)
Hello all,
I'm newby in poky and I'm trying to build a toolchain, which targets
the Cortex-M3 CPU, thumb mode. Target kernel 2.6 supports only flat
binaries, so my choice of Libc is uClibc - is it correct?
I created the machine configuratin file for my target in
meta/conf/machines, it has the following definitions:
---
TARGET_ARCH = "arm"
TARGET_CC_ARCH="-mcpu=cortex-m3 -mthumb"
TARGET_FPU="soft"
BASE_PACKAGE_ARCH="armv7"
TARGET_OS="linux-uclibc"
# Guesswork
SERIAL_CONSOLE = "115200 ttyAAO2"
#??
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
KERNEL_IMAGETYPE = "vmlinux"
#
MACHINE_FEATURES = "kernel26 serial"
---
I initialized poky build environment and started the build as
"POKYLIBC=uclibc bitbake -v meta-toolchain".
After step 88 build failed, last lines of the log are:
ERROR: Required build target 'meta-toolchain' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-toolchain', 'virtual/arm-poky-linux-uclibcgnueabi-compilerlibs', 'desktop-file-utils-native', 'glib-2.0-native']
NOTE: multiple providers are available for virtual/libc-nativesdk (glibc-nativesdk, eglibc-nativesdk)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/libc-nativesdk
ERROR: Nothing PROVIDES 'glib-2.0-native'
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/work/psl/poky/poky/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/work/psl/poky/poky/bitbake/lib/bb/command.py", line 200, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File "/home/work/psl/poky/poky/bitbake/lib/bb/cooker.py", line 828, in buildTargets
taskdata.add_unresolved(localdata, self.status)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 534, in add_unresolved
self.remove_buildtarget(targetid)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget
self.fail_fnid(fnid, missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid
self.remove_buildtarget(target, missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 496, in remove_buildtarget
self.fail_fnid(self.tasks_fnid[taskid], missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid
self.remove_buildtarget(target, missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget
self.fail_fnid(fnid, missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid
self.remove_buildtarget(target, missing_list)
File "/home/work/psl/poky/poky/bitbake/lib/bb/taskdata.py", line 501, in remove_buildtarget
raise bb.providers.NoProvider(target)
NoProvider: meta-toolchain
What are the real reason of the build failure? What should look for in
the build log?
As a test, I started "MACHINE=quemuarm bitbake -v meta-toolchain",
which built the eglibc-based toolchain successfully. Then I added
"POKYLIBC=uclibc" to the command above, build failed with the same
output.
Is it possible to build uclibc-based ARM toolchain in poky?
Any help would be appreciated.
Regards,
Sergei
tried to build with
"MACHINE=quemuarm POKYLIBC=uclibc"
reply other threads:[~2011-04-26 15:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110426191406.0ec4e81f@emcraft.com \
--to=sposelenov@emcraft.com \
--cc=poky@yoctoproject.org \
--cc=vlad@emcraft.com \
--cc=yanok@emcraft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox