[oe] Angstrom distro, qemu: uncaught target signal 4 (Illegal instruction) - core dumped on glibc package

Grzegorz Toporek top.grzechu at gmail.com
Sun May 23 10:17:43 UTC 2010


Hi all,

thank you for all your suggestions and help. I started to build angstrom
distro as you recommended.

Unfortunately, I got this error while building glibc package:
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

I found this tread which says that gemu doesn't support iwmmxt...but how to
deal with this? Is there a patch needed? Where to find it?
http://ibot.rikers.org/%23oe/20060827.html.gz

I use tune-iwmmxt.inc file with my machine.

Please help me with it.


Kind Regards,
Grzegorz

######## log file ############

grzesiek at grzesiek:~/tele$ bitbake busybox
NOTE: Handling BitBake files: \ (8373/8373) [100 %]
NOTE: Parsing finished. 7581 cached, 458 parsed, 334 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 355 of 526 (ID: 145,
/home/grzesiek/tele/openembedded/recipes/glibc/glibc_2.6.1.bb, do_package)
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
NOTE: Task failed: localedef returned an error (command was
PATH="/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin/iwmmxt-angstrom-linux-gnueabi:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin/iwmmxt-angstrom-linux-gnueabi:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/sbin:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin:/home/grzesiek/tele/tmp/cross/iwmmxt//bin:/home/grzesiek/tele/tmp/sysroots/i686-linux/sbin:/home/grzesiek/tele/tmp/sysroots/i686-linux/bin:/home/grzesiek/tele/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
I18NPATH="/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree
-E
LD_LIBRARY_PATH=/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/lib
-cpu pxa270-c5
/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/grzesiek/tele/openembedded/recipes/glibc/
glibc_2.6.1.bb do_package failed
ERROR: Task 145 (/home/grzesiek/tele/openembedded/recipes/glibc/
glibc_2.6.1.bb, do_package) failed
NOTE: Tasks Summary: Attempted 354 tasks of which 354 didn't need to be
rerun and 1 failed.
ERROR: '/home/grzesiek/tele/openembedded/recipes/glibc/glibc_2.6.1.bb'
failed
grzesiek at grzesiek:~/tele$ ^C
grzesiek at grzesiek:~/tele$ bitbake busybox
NOTE: Handling BitBake files: \ (8373/8373) [100 %]
NOTE: Parsing finished. 7581 cached, 458 parsed, 334 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 355 of 526 (ID: 145,
/home/grzesiek/tele/openembedded/recipes/glibc/glibc_2.6.1.bb, do_package)
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
NOTE: Task failed: localedef returned an error (command was
PATH="/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin/iwmmxt-angstrom-linux-gnueabi:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin/iwmmxt-angstrom-linux-gnueabi:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/sbin:/home/grzesiek/tele/tmp/sysroots/i686-linux/usr/bin:/home/grzesiek/tele/tmp/cross/iwmmxt//bin:/home/grzesiek/tele/tmp/sysroots/i686-linux/sbin:/home/grzesiek/tele/tmp/sysroots/i686-linux/bin:/home/grzesiek/tele/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
I18NPATH="/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree
-E
LD_LIBRARY_PATH=/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/lib
-cpu pxa270-c5
/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/grzesiek/tele/tmp/work/iwmmxt-angstrom-linux-gnueabi/glibc-2.6.1-r36.0/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/grzesiek/tele/openembedded/recipes/glibc/
glibc_2.6.1.bb do_package failed
ERROR: Task 145 (/home/grzesiek/tele/openembedded/recipes/glibc/
glibc_2.6.1.bb, do_package) failed
NOTE: Tasks Summary: Attempted 354 tasks of which 354 didn't need to be
rerun and 1 failed.
ERROR: '/home/grzesiek/tele/openembedded/recipes/glibc/glibc_2.6.1.bb'
failed

######## machine/colibri.conf ############

TARGET_ARCH        = "arm"
TARGET_FPU        = "soft"
PACKAGE_EXTRA_ARCHS    = "armv4t armv5te"
require conf/machine/include/tune-iwmmxt.inc
GUI_MACHINE_CLASS    = "bigscreen"
MACHINE_FEATURES    = "kernel26 apm alsa ext2 uboot irda usbgadget usbhost
keyboard touchscreen screen bluetooth pcmcia"
MACHINE_FEATURES    += "ethernet"
MACHINE_TASK_PROVIDER    = "task-boot dropbear"
PREFERRED_PROVIDER_virtual/kernel    = "linux-colibri"

####### machine/include/tune-iwmmxt.inc #############

# Configurations for the Intel PXA27x Appications Processor Family.
# Please use tune-xscale for PXA255/PXA26x based processors.
TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt"
BASE_PACKAGE_ARCH = "iwmmxt"
#PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te iwmmxt"
PACKAGE_EXTRA_ARCHS += "armv4 iwmmxt"
FEED_ARCH = "iwmmxt"



More information about the Openembedded-devel mailing list