From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Andre Haupt <andre@bitwigglers.org>
Cc: yocto@yoctoproject.org
Subject: Re: crownbay-noemgd poky-image-minimal fails to build
Date: Fri, 29 Jul 2011 09:12:22 -0400 [thread overview]
Message-ID: <4E32B1B6.4010608@windriver.com> (raw)
In-Reply-To: <20110729100525.GA26451@localhost.localdomain>
On 07/29/11 06:05, Andre Haupt wrote:
> On Fri, Jul 29, 2011 at 09:23:59AM +0200, Andre Haupt wrote:
>> Hi all,
>>
>> I am trying to build a poky bernard image for crownbay-noemgd.
>> For this i checked out the bernard branch of both poky and meta-intel
>> from git.yoctoproject.org.
>>
>> Bitbake fails during the kernels compile_perf task complaining that it can not
>> find libdw.h and bfd.h and that using /usr/local/include as include
>> location is unsafe for cross compilation (full log attached).
>>
>> What do i miss here?
>
> I did work around this with
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-
> index 3c1e669..85caa92 100644
> --- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
> @@ -42,4 +42,4 @@ KERNEL_FEATURES=features/netfilter
> addtask kernel_link_vmlinux after do_compile before do_install
> addtask validate_branches before do_patch after do_kernel_checkout
>
> -require linux-tools.inc
> +#require linux-tools.inc
>
>
> not sure that this is the right thing to do though.
It's an acceptable work around to keep you building on your
local machine, assuming that you don't need perf. But the
linux-yocto recipes always want to provide perf, and hence
have that include.
I'm trying to dust off my memory here. I know that this has
been seen, and I also know that this built fine in the bernard
release.
The first part of the issue is the:
Makefile:508: No libdw.h found or old libdw.h found, disables dwarf
support. Please install elfutils-devel/elfutils-dev
We may have a missing host dependency in the checks. Have you
tried installing the relevant package for F13 ?
As for the second, there's a patch in the 2.6.34 kernel tree
that is dealing with it:
http://git.pokylinux.org/cgit/cgit.cgi/linux-yocto-2.6.34/commit/?h=standard&id=72ca49ab08b8eb475cec82a10049503602325791
It sounds like there may be a SRCREV problem for the board that
isn't picking up that change. Can you confirm that this commit
is in your board branch ? You can check in your build directory
for linux.
Bruce
>
> cheers,
>
> Andre
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2011-07-29 13:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-29 7:23 crownbay-noemgd poky-image-minimal fails to build Andre Haupt
2011-07-29 10:05 ` Andre Haupt
2011-07-29 13:12 ` Bruce Ashfield [this message]
2011-07-29 13:57 ` Malcolm Crossley
2011-07-29 14:02 ` Bruce Ashfield
2011-07-29 14:11 ` Malcolm Crossley
2011-07-29 14:33 ` Bruce Ashfield
2011-07-29 14:51 ` Malcolm Crossley
2011-07-29 14:56 ` Bruce Ashfield
2011-07-29 14:03 ` Andre Haupt
2011-07-29 14:09 ` Bruce Ashfield
2011-07-29 14:32 ` Bruce Ashfield
2011-08-01 9:04 ` Andre Haupt
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=4E32B1B6.4010608@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=andre@bitwigglers.org \
--cc=yocto@yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.