[oe-users] Problem generating binary locales
Brian Clarke
brian.clarke at oxsemi.com
Mon Mar 5 14:16:20 UTC 2007
I'm interested in using Openembedded to build the root filesystem for our ARM based SoC and to this end have been experimenting with building for the standard Mainstone target included with Openembedded before making the leap to defining our own machine/distro.
I've encountered difficulties generating the binary locale data and was hoping someone else had come across and solved the same problems (our target has a maximum of 64MB of RAM and so apparently can't support generating locale data on first boot).
I've modified my local.conf to set ENABLE_BINARY_LOCALE_GENERATION to 1. I'm developing on an x86_84 system and have built qemu versions 0.8.2 and 0.9.0 from sources. With the std qemu sources I received an error like:
qemu: Unsupported syscall: 983045
Seaching for a solution to this I came across:
patch.qemu_nptl
from
http://www.freaknet.org/martin/qemu/patch.qemu-0.8.2_nptl-pb147082-mg1
which looked promising. This patch applied cleanly to qemu 0.8.2, but generated the following error when building the bootstrap-image target:
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Using cache in '/home/brian/openembedded/bitbake_tmp/cache/mainstone'
NOTE: Handling BitBake files: / (4066/4066) [100 %]
NOTE: Parsing finished. 3887 cached, 0 parsed, 179 skipped, 0 masked.
NOTE: build 200703051237: started
OE Build Configuration:
BB_VERSION = "1.6.3"
OE_REVISION = "cdd2dc161d23f1b6dc86af476b48fab577e720bf"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
MACHINE = "mainstone"
DISTRO = "generic"
DISTRO_VERSION = ".dev-snapshot-20070305"
TARGET_FPU = "soft"
NOTE: preferred version 2.5 of glibc not available
NOTE: package glibc-2.5: started
NOTE: package glibc-2.5-r4: task do_package: started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
qemu: uncaught target signal 11 (Segmentation fault) - exiting
NOTE: Task failed: localedef returned an error (command was PATH="/home/brian/openembedded/bitbake_tmp/staging/x86_64-linux/bin/arm-linux:/home/brian/openembedded/bitbake_tmp/staging/x86_64-linux/bin:/home/brian/openembedded/bitbake_tmp/cross/bin:/home/brian/qemu/install/qemu-0.9.0-patched/bin/:/home/brian/openembedded/bitbake/bin/:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/brian/bin" I18NPATH="/usr/share/i18n" qemu-arm -r 2.6.16 -L /home/brian/openembedded/bitbake_tmp/work/armv5te-linux/glibc-2.5-r4/locale-tree /home/brian/openembedded/bitbake_tmp/work/armv5te-linux/glibc-2.5-r4/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/brian/openembedded/bitbake_tmp/work/armv5te-linux/glibc-2.5-r4/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.5-r4: task do_package: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-2.5: failed
I then applied the patch to qemu 0.9.0 in the hope this might help (a little manual tweaking to the patch was required), but again received a seg fault when building the bootstarp-image target.
Does anyone know of additional/alternative patches to qemu that can make the locale build succeed?
Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20070305/04595855/attachment-0002.html>
More information about the Openembedded-users
mailing list