bitbake console-image: unrecognized option '-Qy'

75 views
Skip to first unread message

saladino

unread,
Feb 6, 2009, 4:27:38 PM2/6/09
to discu...@beagleboard.org
I am trying to bitbake console-image for angstrom and am having problems. It chokes on task 154 with unrecognized option '-Qy' (see log below). Does anyone know what the problem is and how I can move forward? My host is ubuntu 8.10. I followed the instructions at http://elinux.org/BeagleBoardAndOpenEmbeddedGit. Here is my output log. Thanks.

$ bitbake console-image
NOTE: Handling BitBake files: / (6493/6493) [100 %]
NOTE: Parsing finished. 6222 cached, 0 parsed, 271 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200902061506: started

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "f9ea0fcf6bb5fa7e2cd39b1a5d4c95e1340ad2d9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2009.X-test-20090206"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 154 of 2210 (ID: 1748, /home/salad/oe/openembedded/packages/gcc/gcc-cross-initial_4.3.1.bb, do_compile)
NOTE: package gcc-cross-initial-4.3.1: started
NOTE: package gcc-cross-initial-4.3.1-r17: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/temp/log.do_compile.9206
NOTE: Task failed: /home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/temp/log.do_compile.9206
NOTE: package gcc-cross-initial-4.3.1-r17: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-cross-initial-4.3.1: failed
ERROR: Build of /home/salad/oe/openembedded/packages/gcc/gcc-cross-initial_4.3.1.bb do_compile failed
ERROR: Task 1748 (/home/salad/oe/openembedded/packages/gcc/gcc-cross-initial_4.3.1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 153 tasks of which 153 didn't need to be rerun and 1 failed.
ERROR: '/home/salad/oe/openembedded/packages/gcc/gcc-cross-initial_4.3.1.bb' failed
NOTE: build 200902061506: completed

contents of log.do_compile.9206:
make[2]: Entering directory `/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/build.i686-linux.arm-angstrom-linux-gnueabi/gcc'
ccache gcc -c   -isystem/home/salad/oe/tmp/staging/i686-linux/usr/include -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                  -Wno-overlength-strings    -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/build -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../include -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libcpp/include  -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libdecnumber -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libdecnumber/dpd -I../libdecnumber -I. -Ibuild -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/build -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../include -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libcpp/include  -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libdecnumber -I/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/../libdecnumber/dpd -I../libdecnumber     -o build/genmodes.o /home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/gcc/genmodes.c
/home/salad/oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/as: unrecognized option '-Qy'
make[2]: *** [build/genmodes.o] Error 1
make[2]: Leaving directory `/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/build.i686-linux.arm-angstrom-linux-gnueabi/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/salad/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.1-r17/gcc-4.3.1/build.i686-linux.arm-angstrom-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed


--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!

Koen Kooi

unread,
Feb 6, 2009, 4:42:37 PM2/6/09
to beagl...@googlegroups.com

Op 6 feb 2009, om 22:27 heeft saladino het volgende geschreven:

> I am trying to bitbake console-image for angstrom and am having
> problems. It chokes on task 154 with unrecognized option '-Qy' (see
> log below).

Is your /bin/sh pointing to dash? That's usually (but not always!) the
cause of this error.

regards,

Koen

PGP.sig

saladino

unread,
Feb 6, 2009, 6:29:15 PM2/6/09
to Beagle Board
No. I did reconfigure it to point to bash. I am basically stuck.
Please help.

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2009-02-05 20:30 /bin/sh -> bash*
>  PGP.sig
> < 1KViewDownload

saladino

unread,
Feb 6, 2009, 7:46:11 PM2/6/09
to Beagle Board
It's solved. In case anyone else has this issue, I removed "." from my
PATH variable and now its happily bitbaking...

Thanks,
Saladino.
Reply all
Reply to author
Forward
0 new messages