[oe-users] rm-angstrom-linux-gnueabi-as: unrecognized option `-Qy' on x86_64

Russ Ferriday russf at topia.com
Mon Aug 27 13:04:17 UTC 2007


Hello, all!

I hit a problem when building on Linux 2.6.21-1.3194.fc7 - FC7  
running on XEON (x86_64 architecture).

The build runs normally when I use the same settings and versions of  
OE and fresh monotone repositories on a machine with i686  
architecture. (FC7 2.6.22.1-32.fc6 running on Parallels on a  
MacBookPro).

The OE log trace is below this text, and the relevant line is:

      /home/oe/c/tmp/cross/bin/arm-angstrom-linux-gnueabi-as:  
unrecognized option `-Qy'

I think the problem is that the arm assembler is being invoked where  
the native (host) assembler should be used. This is the first point  
that I'd like someone who has been down this path to validate.

I think I'm not the first OE user to hit the issue, as you can see in  
the comments to this GCC bug:

     http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29780

Which refers to this posting :

     http://gcc.gnu.org/ml/gcc/2006-07/msg00533.html

When I follow that recommendation, and do...

   $ cd tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross- 
initial-4.1.2-r4/gcc-4.1.2/build.x86_64-linux.arm-angstrom-linux- 
gnueabi/gcc/
   $ mv as as.HOLD

... I can make more progress on the build, though I have not yet tested.

I hit the same problem with a later target, which I fixed in the same  
way, using:

   $ cd tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-4.1.2-r4/ 
gcc-4.1.2/build.x86_64-linux.arm-angstrom-linux-gnueabi/gcc
   $ mv as as.HOLD

Assuming that GCC is the culprit, and may not change soon, should I  
create a platform dependent task to fix this at install time for this  
single platform?

Or am I on the wrong track completely?

--r
Russ Ferriday






Parsing .bb files, please wait...done.
NOTE: Parsing finished. 4385 cached, 0 parsed, 230 skipped, 0 masked.
NOTE: build 200708271019: started

OE Build Configuration:
BB_VERSION     = "1.8.9"
OE_REVISION    = "db972685a453721f344867c46d01ba28142c82bf"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "kb9202"
DISTRO         = "angstrom"
DISTRO_VERSION = "test-20070827"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/ 
arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 200 of 1604 (ID: 902, /home/oe/c/ 
org.openembedded.dev/packages/gcc/gcc-cross-initial_4.1.2.bb,  
do_compile)
NOTE: package gcc-cross-initial-4.1.2: started
NOTE: package gcc-cross-initial-4.1.2-r4: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/oe/c/tmp/work/armv4t-angstrom-linux- 
gnueabi/gcc-cross-initial-4.1.2-r4/temp/log.do_compile.11103)
| NOTE: make ARCH_FLAGS_FOR_TARGET=-isystem/home/oe/c/tmp/staging/ 
x86_64-linux/include
| make[1]: Entering directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi'

<snip>

| make[2]: Entering directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi/libcpp'
| make[2]: Leaving directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi/libcpp'
| make[2]: Entering directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi/gcc'
| ccache gcc -c   -isystem/home/oe/c/tmp/staging/x86_64-linux/include  
-Os -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict- 
prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno- 
variadic-macros -Wold-style-definition -Wmissing-format-attribute    - 
DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/oe/c/tmp/work/ 
armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/ 
gcc -I/home/oe/c/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross- 
initial-4.1.2-r4/gcc-4.1.2/gcc/build -I/home/oe/c/tmp/work/armv4t- 
angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc/../ 
include -I/home/oe/c/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross- 
initial-4.1.2-r4/gcc-4.1.2/gcc/../libcpp/include  -isystem/home/oe/c/ 
tmp/staging/x86_64-linux/include   -o build/genmodes.o /home/oe/c/tmp/ 
work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/ 
gcc-4.1.2/gcc/genmodes.c
| /home/oe/c/tmp/cross/bin/arm-angstrom-linux-gnueabi-as:  
unrecognized option `-Qy'
| make[2]: *** [build/genmodes.o] Error 1
| make[2]: Leaving directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi/gcc'
| make[1]: *** [all-gcc] Error 2
| make[1]: Leaving directory `/home/oe/c/tmp/work/armv4t-angstrom- 
linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.x86_64- 
linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/oe/c/tmp/work/armv4t-angstrom-linux-gnueabi/ 
gcc-cross-initial-4.1.2-r4/temp/log.do_compile.11103
NOTE: package gcc-cross-initial-4.1.2-r4: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-cross-initial-4.1.2: failed
ERROR: Build of /home/oe/c/org.openembedded.dev/packages/gcc/gcc- 
cross-initial_4.1.2.bb do_compile failed

NOTE: Parsing finished. 4385 cached, 0 parsed, 230 skipped, 0 masked.
NOTE: build 200708271019: started

OE Build Configuration:
BB_VERSION     = "1.8.9"
OE_REVISION    = "db972685a453721f344867c46d01ba28142c82bf"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "kb9202"
DISTRO         = "angstrom"
DISTRO_VERSION = "test-20070827"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/ 
arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 200 of 1604 (ID: 902, /home/oe/c/ 
org.openembedded.dev/packages/gcc/gcc-cross-initial_4.1.2.bb,  
do_compile)
ERROR: Task 902 (/home/oe/c/org.openembedded.dev/packages/gcc/gcc- 
cross-initial_4.1.2.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 199 tasks of which 199 didn't need to  
be rerun and 1 failed.
ERROR: '/home/oe/c/org.openembedded.dev/packages/gcc/gcc-cross- 
initial_4.1.2.bb' failed






More information about the Openembedded-users mailing list