<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2016年10月12日 17:26, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LbhDO+ijOerKVao+s+fruJK98VqQTeMSzxir3_eYWLMbw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 12 October 2016 at 03:37, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:kai.kang@windriver.com" target="_blank">kai.kang@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":78s" class="a3s aXjCH m157b6cadd316c3fb">gcc
checks threads and leak sanitizers support when do
configure. If not<br>
supported, packages of tsan and lsan are empty. If add
such package to<br>
image it fails to build:<br>
<br>
| ERROR: core-image-minimal-1.0-r0 do_rootfs:
libtsan-dev not found in the feeds<br>
| ERROR: core-image-minimal-1.0-r0 do_rootfs: This is
often caused by an empty<br>
| package declared in a recipe's PACKAGES variable.
(Empty packages are not<br>
| constructed unless ALLOW_EMPTY_<pkg> = '1' is
used.)<br>
</div>
</blockquote>
</div>
<br>
Not sure I'm understand where those dependencies are coming
from, how would I replicate this?</div>
</div>
</blockquote>
<br>
gcc checks tsan and lsan support in source file
gcc/libsanitizer/configure.tgt, it seems only support x86_64. Then
tsan and lsan related packages will be empty for other target.<br>
For qemuarm project, add in local.conf:<br>
<br>
IMAGE_INSTALL_append = " libtsan"<br>
<br>
Then run 'bitbake core-image-minimal", it shows errors:<br>
<br>
ERROR: core-image-minimal-1.0-r0 do_rootfs: libtsan not found in the
feeds (qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm noarch
any all) in
/buildarea3/kkang/poky-20141111/builds/qemuarm-Aug05/tmp/deploy/rpm.<br>
ERROR: core-image-minimal-1.0-r0 do_rootfs: This is often caused by
an empty package declared in a recipe's PACKAGES variable. (Empty
packages are not constructed unless ALLOW_EMPTY_<pkg> = '1' is
used.)<br>
ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed:
do_rootfs<br>
ERROR: Logfile of failure stored in:
/buildarea3/kkang/poky-20141111/builds/qemuarm-Aug05/tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.24600<br>
ERROR: Task
(/buildarea3/kkang/poky-20141111/poky/meta/recipes-core/images/core-image-minimal.bb:do_rootfs)
failed with exit code '1'<br>
<br>
<br>
Regards,<br>
Kai<br>
<br>
<br>
<br>
<blockquote
cite="mid:CAJTo0LbhDO+ijOerKVao+s+fruJK98VqQTeMSzxir3_eYWLMbw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Ross</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Neil | Kai Kang</pre>
</body>
</html>