On Tue, Jan 5, 2010 at 1:43 AM, RK Raggit <[email protected]> wrote: > Sorry for the delay in replying. I was on vacation. > > if you use minimal or micro distro then eglibc is default libc for >> others you can add >> >> LIBC="eglibc" >> >> IIRC angstrom needs ANGSTROMLIBC = "eglibc" >> >> for choosing 2.11 you can add >> >> PREFERRED_VERSION_eglibc = "2.11" >> PREFERRED_VERSION_eglibc-initial = "2.11" >> >> to your local.conf >> > > This is my lineup now - > PREFERRED_VERSION_binutils = "2.20" > PREFERRED_VERSION_binutils-cross = "2.20" > PREFERRED_VERSION_binutils-cross-sdk = "2.20" > PREFERRED_VERSION_gcc = "4.4.1" > PREFERRED_VERSION_gcc-cross = "4.4.1" > PREFERRED_VERSION_gcc-cross-initial = "4.4.1" > PREFERRED_VERSION_gcc-cross-intermediate = "4.4.1" > PREFERRED_VERSION_glibc = "2.9" > PREFERRED_VERSION_glibc-initial = "2.9" > PREFERRED_VERSION_eglibc = "2.10" > PREFERRED_VERSION_eglibc-initial = "2.10" > ANGSTROMLIBC = "eglibc" > I had started with eglibc2.11 but some failure occured in the build (i dont > quite remember the error). Based on the above lineup my build fails while > packaging eglibc. This is the log - > > ---------------------------------------------------------------------- > NOTE: Running task 897 of 3319 (ID: 195, > /home/raghu/opendistro/openembedded/recipes/eglibc/eglibc_2.10.bb, > do_package) > + export localstatedir=/var > ... > ... > ... > + cd > /home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/build-arm-angstrom-linux-gnueabi > + do_prep_locale_tree > + > treedir=/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree > ... > ... > ... > /home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/temp/run.do_prep_locale_tree.23041: > line 819: [: > /home/raghu/opendistro/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/lib/libgcc_s.so: > binary operator expected > ... > ... > > NOTE: Task failed: localedef returned an error (command was > PATH="/home/raghu/opendistro/build/tmp/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/raghu/opendistro/build/tmp/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/raghu/opendistro/build/tmp/staging/i686-linux/usr/sbin:/home/raghu/opendistro/build/tmp/staging/i686-linux/usr/bin:/home/raghu/opendistro/build/tmp/cross/armv7a/bin:/home/raghu/opendistro/build/tmp/staging/i686-linux/sbin:/home/raghu/opendistro/build/tmp/staging/i686-linux/bin:/home/raghu/opendistro/bitbake-1.8.12/bin:/home/raghu/sg/ARM/FastModelTools_5.0/ModelDebugger_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/ModelDebugger_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/bin:/distro/cortex/STLinux-2.3/devkit/arm/bin/:/usr/kerberos/bin:/usr/lib/ccache:/home/raghu/sg/ARM/FastModelTools_5.0/ModelDebugger_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/ModelDebugger_5.0/bin:/home/raghu/sg/ARM/FastModelTools_5.0/bin:/distro/cortex/STLinux-2.3/devkit/arm/bin/:/usr/local/bin:/bin:/usr/bin:/home/raghu/bin" > I18NPATH="/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree//usr/share/i18n" > qemu-arm -s 1048576 -r 2.6.16 -L > /home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree > -E > LD_LIBRARY_PATH=/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree/lib > /home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree/bin/localedef > --force --old-style --no-archive > --prefix=/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.10-r7.1/locale-tree > --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI). > ERROR: TaskFailed event exception, aborting
It seems that qemu is aborting while running localedef. Unless you really need locales I would recommend to disable the locale generation. Add ENABLE_BINARY_LOCALE_GENERATION = "0" to your local.conf and rebuild eglibc. -Khem _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
