On Wed, Jun 30, 2010 at 3:57 PM, Chris Tapp <[email protected]> wrote: > Whilst investigating an issue I have with 'swapper' using all the cpu time I > decided to try and use the linux-geodelx kernel as my target is an LX800. > > I changed my configuration to use Angstrom for the geodelx machine and ran > 'bitbake linux-geodelx'. This failed to build due to: > > ERROR: log data follows > (/home/chris/oe-dev/build/tmp/work/geode-angstrom-linux/glibc-2.9-r36.3/temp/log.do_configure.29301) > | configure.in:2204: warning: AC_CACHE_VAL(pic_default, ...): suspicious > cache-id, must contain _cv_ to be cached > | ../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from... > | ../../lib/autoconf/general.m4:2020: AC_CACHE_CHECK is expanded from... > | configure.in:2204: the top level > | checking build system type... i686-pc-linux-gnu > | checking host system type... i486-angstrom-linux-gnu > | configure: running configure fragment for add-on nptl > | checking sysdep dirs... configure: error: The geode subspecies of i486 is > not supported. > NOTE: Task failed: > /home/chris/oe-dev/build/tmp/work/geode-angstrom-linux/glibc-2.9-r36.3/temp/log.do_configure.29301 > ERROR: TaskFailed event exception, aborting > ERROR: Build of /home/chris/oe-dev/openembedded/recipes/glibc/glibc_2.9.bb > do_configure failed > ERROR: Task 170 (/home/chris/oe-dev/openembedded/recipes/glibc/glibc_2.9.bb, > do_configure) failed > > I'm thinking I've done something wrong here as I would expect a geode build > to support the 'geode subspecies' :-) Except that it seems as if a patch was > proposed in the past to change the geodelx (and gx) machine recipes to use > i586. This does not appear to have been applied to the current version. See > http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-November/014489.html >
there were concerns around performance. Thats why it was not applied but I guess there is no other way if we wanted to use modern glibc on it. > However, if I make these changes and try to build I get: > > ERROR: function do_compile failed > ERROR: log data follows > (/home/chris/oe-dev/build-2/tmp/work/geodelx-angstrom-linux/linux-geodelx-2.6.11-r0/temp/log.do_compile.2242) > | NOTE: make -j 4 include/linux/version.h CC=i586-angstrom-linux-gcc > LD=i586-angstrom-linux-ld > | CHK include/linux/version.h > | NOTE: make -j 4 bzImage CC=i586-angstrom-linux-gcc > LD=i586-angstrom-linux-ld > | CHK include/linux/version.h > | make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. > | CHK include/linux/compile.h > | CHK usr/initramfs_list > | CC arch/i386/kernel/process.o > | CC arch/i386/kernel/semaphore.o > | CC arch/i386/mach-default/setup.o > | LD arch/i386/crypto/built-in.o > | CC kernel/sched.o > | CC arch/i386/kernel/signal.o > | CC arch/i386/mach-default/topology.o > | arch/i386/kernel/process.c: Assembler messages: > | arch/i386/kernel/process.c:400: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:401: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:477: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:478: Error: suffix or operands invalid for > `mov' > | include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov' > | include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov' > | arch/i386/kernel/process.c:599: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:600: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:607: Error: suffix or operands invalid for > `mov' > | arch/i386/kernel/process.c:608: Error: suffix or operands invalid for > `mov' > | make[1]: *** [arch/i386/kernel/process.o] Error 1 > | make[1]: *** Waiting for unfinished jobs.... > | CC kernel/fork.o > | LD arch/i386/mach-default/built-in.o > | CC mm/bootmem.o > | arch/i386/kernel/signal.c: Assembler messages: > | arch/i386/kernel/signal.c:165: Error: suffix or operands invalid for `mov' > | arch/i386/kernel/signal.c:166: Error: suffix or operands invalid for `mov' > | make[1]: *** [arch/i386/kernel/signal.o] Error 1 > | make: *** [arch/i386/kernel] Error 2 > | make: *** Waiting for unfinished jobs.... > | CC mm/filemap.o > | CC kernel/exec_domain.o > | CC mm/mempool.o > | CC kernel/panic.o > | CC kernel/printk.o > | CC kernel/profile.o > | CC mm/oom_kill.o > | mm/filemap.c: In function '__generic_file_aio_write_nolock': > | mm/filemap.c:1799: sorry, unimplemented: inlining failed in call to > 'generic_write_checks': function body not available > | mm/filemap.c:2087: sorry, unimplemented: called from here > | make[1]: *** [mm/filemap.o] Error 1 > | make[1]: *** Waiting for unfinished jobs.... > | CC kernel/exit.o 2.6.11 is a bit old kernel version and you have to use older binutils (i.e. lower than 2.18) to build it. > > Chris > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
