All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Haupt <andre@bitwigglers.org>
To: yocto@yoctoproject.org
Subject: crownbay-noemgd poky-image-minimal fails to build
Date: Fri, 29 Jul 2011 09:23:59 +0200	[thread overview]
Message-ID: <20110729072359.GA5109@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

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?

Btw, the build host is fedora 13.
(this time on real hardware, not in a virtual machine)

thanks,

Andre

[-- Attachment #2: log.do_compile_perf.12050 --]
[-- Type: text/plain, Size: 4229 bytes --]

NOTE: make -C /home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/linux/tools/perf CC=ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/sysroots/crownbay-noemgd LD=i586-poky-linux-ld --sysroot=/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/sysroots/crownbay-noemgd prefix=/usr NO_NEWT=1 NO_DWARF=1
make: Entering directory `/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/linux/tools/perf'
Makefile:508: No libdw.h found or old libdw.h found, disables dwarf support. Please install elfutils-devel/elfutils-dev
Makefile:563: No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling
PERF_VERSION = 0.0.2.PERF
make: Leaving directory `/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/linux/tools/perf'
make: Entering directory `/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/linux/tools/perf'
Makefile:508: No libdw.h found or old libdw.h found, disables dwarf support. Please install elfutils-devel/elfutils-dev
Makefile:563: No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling
    GEN common-cmds.h
    * new build flags or prefix
    CC perf.o
    CC builtin-annotate.o
    CC builtin-bench.o
    CC bench/sched-messaging.o
    CC bench/sched-pipe.o
    CC bench/mem-memcpy.o
    CC builtin-diff.o
    CC builtin-help.o
    CC builtin-sched.o
    CC builtin-buildid-list.o
    CC builtin-buildid-cache.o
    CC builtin-list.o
    CC builtin-record.o
    CC builtin-report.o
    CC builtin-stat.o
    CC builtin-timechart.o
    CC builtin-top.o
    CC builtin-trace.o
    CC builtin-probe.o
    CC builtin-kmem.o
    CC builtin-lock.o
    CC util/abspath.o
    CC util/alias.o
    CC util/build-id.o
    CC util/config.o
    CC util/ctype.o
    CC util/debugfs.o
    CC util/environment.o
    CC util/event.o
    CC util/exec_cmd.o
    CC util/help.o
    CC util/levenshtein.o
    CC util/parse-options.o
    CC util/parse-events.o
    CC util/path.o
    CC util/rbtree.o
    CC util/bitmap.o
    CC util/hweight.o
    CC util/find_next_bit.o
    CC util/run-command.o
    CC util/quote.o
    CC util/strbuf.o
    CC util/string.o
    CC util/strlist.o
    CC util/usage.o
    CC util/wrapper.o
    CC util/sigchain.o
    CC util/symbol.o
    CC util/color.o
    CC util/pager.o
    CC util/header.o
    CC util/callchain.o
    CC util/values.o
    CC util/debug.o
    CC util/map.o
    CC util/session.o
    CC util/thread.o
    CC util/trace-event-parse.o
    CC util/trace-event-read.o
    CC util/trace-event-info.o
    CC util/trace-event-scripting.o
    CC util/svghelper.o
    CC util/sort.o
    CC util/hist.o
    CC util/probe-event.o
    CC util/util.o
    CC util/cpumap.o
    CC util/scripting-engines/trace-event-perl.o
cc1: warnings being treated as errors
cc1: error: include location "/usr/local/include" is unsafe for cross-compilation
make: *** [util/scripting-engines/trace-event-perl.o] Error 1
make: Leaving directory `/home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/linux/tools/perf'
FATAL: oe_runmake failed
ERROR: Function 'do_compile_perf' failed (see /home/ahaupt/yocto-git/builds/crownbay-noemgd/tmp/work/crownbay_noemgd-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+56fe215d3f1a2cc3a5a26482ac9809ba44495695-r1/temp/log.do_compile_perf.12050 for further information)

             reply	other threads:[~2011-07-29  7:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29  7:23 Andre Haupt [this message]
2011-07-29 10:05 ` crownbay-noemgd poky-image-minimal fails to build Andre Haupt
2011-07-29 13:12   ` Bruce Ashfield
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=20110729072359.GA5109@localhost.localdomain \
    --to=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.