Poky Project Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: Poky on "standard" PC
Date: Tue, 25 Jan 2011 05:08:16 -0700	[thread overview]
Message-ID: <4D3EBD30.2070708@mlbassoc.com> (raw)
In-Reply-To: <4D3E0323.2080905@linux.intel.com>

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

On 01/24/2011 03:54 PM, Darren Hart wrote:
> On 01/24/2011 04:39 AM, Richard Purdie wrote:
>> On Mon, 2011-01-24 at 05:05 -0700, Gary Thomas wrote:
>>> I wanted to try Poky on a spare laptop, so I went looking
>>> for an appropriate configuration to build.
>>>
>>> From 'README.hardware' (last updated 2010-12-16), I read:
>>> Poky Boot CD (bootcdx86)
>>> ========================
>>>
>>> The Poky boot CD iso images are designed as a demonstration of the Poky
>>> environment and to show the versatile image formats Poky can generate. It will
>>> run on Pentium2 or greater PC style computers. The iso image can be
>>> burnt to CD and then booted from.
>>>
>>> When I tried it (it's also listed in the default local.conf),
>>> I got this error:
>>> Please set TARGET_ARCH directly, or choose a MACHINE or DISTRO that does so.
>>> Please set a valid MACHINE in your local.conf
>>>
>>> There seems to be no machine named 'bootcd*' anywhere :-(
>>>
>>> What should I be using?
>>
>> bootcdx86 was superceeded by the -live images. I'd suggest using the
>> qemux86 or atom-pc machines and building a -live image, dd that to a usb
>> stick and boot that on the laptop. An iso format image is also generated
>> that can be placed onto a CD.
>
> It will have to be atom-pc as qemu doesn't provide live images (last I checked, a few weeks back).

Sadly, this doesn't build :-(  Failed in compile_perf, log attached.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

NOTE: make -C /home/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-r1/linux/tools/perf CC=ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/local/pc_poky/tmp/sysroots/core2-poky-linux LD=i586-poky-linux-ld --sysroot=/home/local/pc_poky/tmp/sysroots/core2-poky-linux prefix=/usr
make: Entering directory `/home/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-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/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-r1/linux/tools/perf'
make: Entering directory `/home/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-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/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-r1/linux/tools/perf'
FATAL: oe_runmake failed
Function 'do_compile_perf' failed (see /home/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-r1/temp/log.do_compile_perf.24377 for further information)
ERROR: Function 'do_compile_perf' failed (see /home/local/pc_poky/tmp/work/atom-pc-poky-linux/linux-yocto-stable-2.6.34+git0+b0615811ce38836d1ade230e3bdb1efaaa68471f_0+35521a5a70316785a67aca1de1d39a7b84c49ccf-r1/temp/log.do_compile_perf.24377 for further information)

  reply	other threads:[~2011-01-25 12:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 12:05 Poky on "standard" PC Gary Thomas
2011-01-24 12:39 ` Richard Purdie
2011-01-24 22:54   ` Darren Hart
2011-01-25 12:08     ` Gary Thomas [this message]
2011-01-25 13:45       ` Bruce Ashfield
2011-01-25 16:37         ` Gary Thomas
2011-01-25 16:40           ` Bruce Ashfield
2011-01-25 16:45             ` Gary Thomas
2011-01-25 20:16               ` Saul Wold
2011-01-25 22:52     ` Richard Purdie
2011-01-26  0:30       ` Darren Hart
2011-01-26  1:37         ` Gary Thomas
2011-01-26 19:31           ` Darren Hart

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=4D3EBD30.2070708@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=dvhart@linux.intel.com \
    --cc=poky@lists.pokylinux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox