Recipe for setting up OpenEmbedded environment on wiki
P.R.Schaffner at IEEE.org
Sat Feb 10 14:54:18 CET 2007
On Sat, 2007-02-10 at 01:25 -0300, jeff wrote:
> Phil Schaffner wrote:
> > Bitbake version 1.6.2 is required and version 1.6.0 was found
> > Apparently FC7/rawhide ported to CentOS is not quite bleeding-edge
> > enough for this project. The saga will continue later - tomorrow,
> > time/wife/kids permitting.
> Just rebuilding the FC6/7 bitbake with s/1.6.0/1.6.2 in bitbake.spec works
> fine. After that, it looks like you are good to go. (I did the same for
> monotone on FC6 to get to 0.32, fwiw.)
'Fraid not quite good to go yet...
$ rpm -q monotone bitbake
$ time bitbake nano
... several thousand lines deleted ...
NOTE: Applying patch 'nptl-crosscompile.patch'
NOTE: Applying patch 'glibc-check_pf.patch'
NOTE: Applying patch 'zecke-sane-readelf.patch'
NOTE: package glibc-intermediate-2.5-r4: task do_patch: completed
NOTE: package glibc-intermediate-2.5-r4: task do_configure: started
ERROR: function do_configure failed
ERROR: see log in /usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-intermediate-2.5-r4/temp/log.do_configure.8684
NOTE: Task failed: /usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-intermediate-2.5-r4/temp/log.do_configure.8684
NOTE: package glibc-intermediate-2.5-r4: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-intermediate-2.5: failed
ERROR: Build of nano failed
[prs at tabb1 build]$ tail -20 /usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-intermediate-2.5-r4/temp/log.do_configure.8684
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... no
checking for assembler .type directive prefix... %
checking for .symver assembler directive... yes
checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-188.8.131.52.23 or newer).
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for arm-linux-readelf... arm-linux-readelf
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.
FATAL: oe_runconf failed
[prs at tabb1 build]$ rpm -q binutils
[prs at tabb1 build]$ rpm -qf `which ln`
Not quite ready to start replacing things like binutils and coreutils on
an Enterprise Linux class system. Have already hacked it up more than I
like for this exercise. Unfortunately, perhaps FC6 is a better
Red-Hat-family platform for these development efforts, or perhaps a
chroot environment is in order.
More information about the openmoko-devel