Skip to main content

Building pMEA with JIT in Open Embedded: jcs problem

2 replies [Last post]
ken_gilmer
Offline
Joined: 2007-01-19
Points: 0

Hey Everybody :)

I'm working on getting Personal Profile with JIT running on the BUG and have run into an issue where my cross compiler is getting mangled. Some data points:

1. If I set CVM_JIT = false, everything works great.
2. I am using open embedded (Poky) as the build system.

The full log of the error follows this message. From doing some digging it seems like "jcs" needs to be build for host-side execution but is being built for the target. I can verify that the jcs binary is ARM. It would seem that it's using different variables to determine the hostcc and targetcc? Any other suggestions?

Thanks in advance!
-ken

~~~~~~~~~~~~~~~~~~~~~

NOTE: make -e MAKEFLAGS= bin
/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/share/rules.mk:568: /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/empty.mk: No such file or directory
... mkdir /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/javavm/runtime
... mkdir /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/javavm/runtime/jit
... mkdir /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/classes
touch /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/empty.mk
MAKEFLAGS =
CVM_HOST = x86_64-generic-linux
CVM_TARGET = linux-arm-generic
SHELL = sh -e
HOST_CC = /usr/bin/ccache
HOST_CCC = /usr/bin/ccache
ZIP = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/x86_64-linux/usr/bin/zip
FLEX = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/x86_64-linux/usr/bin/flex
BISON = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/x86_64-linux/usr/bin/bison
CVM_JAVA = /home/kgilmer/.gentoo/java-config-2/current-user-vm/bin/java
CVM_JAVAC = /home/kgilmer/.gentoo/java-config-2/current-user-vm/bin/javac
CVM_JAVAH = /home/kgilmer/.gentoo/java-config-2/current-user-vm/bin/javah
CVM_JAR = /home/kgilmer/.gentoo/java-config-2/current-user-vm/bin/jar
TARGET_CC = /usr/bin/ccache
TARGET_CCC = /usr/bin/ccache
TARGET_AS = /usr/bin/ccache
TARGET_LD = /usr/bin/ccache
TARGET_AR = /usr/bin/ar
TARGET_RANLIB = /usr/bin/ranlib
LINKFLAGS = -g -Wl,-export-dynamic
LINKLIBS = -lpthread -ldl
ASM_FLAGS = -c -fno-common -traditional
CCCFLAGS = -fno-rtti
CCFLAGS_SPEED = -c -fno-common -Wall -fno-strict-aliasing -mfloat-abi=softfp -mfpu=vfp -O4
CCFLAGS_SPACE = -c -fno-common -Wall -fno-strict-aliasing -mfloat-abi=softfp -mfpu=vfp -O2
CCFLAGS_LOOP = -c -fno-common -Wall -fno-strict-aliasing -mfloat-abi=softfp -mfpu=vfp -O4
CCFLAGS_FDLIB = -c -fno-common -Wall -fno-strict-aliasing -mfloat-abi=softfp -mfpu=vfp -O4
JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=personal -DTARGET_CPU_FAMILY=arm -D_GNU_SOURCE -DCVM_IAI_OPT_ALL -DQT_THREAD_SUPPORT -Dqt
host uname = Linux t61 2.6.25-gentoo-r7 #3 SMP Sat Aug 2 07:43:15 EDT 2008 x86_64 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux
TARGET_CC version = 4.1.2 arm-poky-linux-gnueabi
HOST_CC version = 4.1.2 arm-poky-linux-gnueabi
CVM_JAVA version = java version 1.5.0_16
TOOLS_DIR = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/tools
AWT_LIB_LIBS = -L/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/qt3/lib -lqt-mt -lstdc++
AWT_IMPLEMENTATION = peer_based
AWT_PEERSET = qt
QT_TARGET_DIR = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/qt3
QT_TARGET_INCLUDE_DIR = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/qt3/include
QT_TARGET_LIB_DIR = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/qt3/lib
MOC = /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/qt3/bin/moc
QTEMBEDDED = false
QTOPIA = false
QT_NEED_THREAD_SUPPORT = true
QT_KEYPAD_MODE =
QT_STATIC_LINK = false
... mkdir /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/flags
Flag AWT_IMPLEMENTATION changed. Cleaning up.
Flag AWT_PEERSET changed. Cleaning up.
Flag CVM_AGENTLIB changed. Cleaning up.
Flag CVM_AOT changed. Cleaning up.

... [ommiting stuff]

cc /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/foundation/native/java/util/zip/Deflater.c
ccache arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -c -fno-common -Wall -fno-strict-aliasing -mfloat-abi=softfp -mfpu=vfp -O2 -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=personal -DTARGET_CPU_FAMILY=arm -D_GNU_SOURCE -DCVM_IAI_OPT_ALL -DQT_THREAD_SUPPORT -Dqt -I../../../../../../staging/arm-poky-linux-gnueabi/qt3/include -I../../../../../../staging/arm-poky-linux-gnueabi/qt3/include/qt -I../../../../../../staging/arm-poky-linux-gnueabi/usr/lib/../include -I../../src/share/personal/native/awt/qt/wproxy -I../../src/share/personal/native/awt/qt -I../../src/share/basis/native/image/gif -I../../src/share/basis/native/image/jpeg/lib -I../../src/share -I./. -I. -I../../src/share/javavm/export -I../../src/share/native/common -I../../src/share/native/java/lang -I../../src/share/native/java/lang/fdlibm/include -I../../src/share/native/java/net -I../../src/share/native/java/io -I../../src/share/native/java/util/zip -I../../src/share/native/java/util/zip/zlib-1.1.3 -I././generated/jni -I../../src/arm -I../../src/portlibs/jit/risc -I../../src -I../../src/linux -I../../src/linux/native/java/net -I../../src/linux/native/common -I../../src/linux-arm -o obj/Deflater.o ../../src/share/foundation/native/java/util/zip/Deflater.c
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compress.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/compress.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compress.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compute_states.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/compute_states.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compute_states.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/debug.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/debug.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/debug.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/hash.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/hash.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/hash.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/invert.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/invert.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/invert.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/item.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/item.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/item.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/main.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/main.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/main.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/matchset.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/matchset.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/matchset.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/output.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/output.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/output.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/POINTERLIST.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/POINTERLIST.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/POINTERLIST.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/pool_alloc.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/pool_alloc.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/pool_alloc.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/rule.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/rule.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/rule.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/state.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/state.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/state.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/statemap.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/statemap.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/statemap.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/symbol.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/symbol.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/symbol.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/transition.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/transition.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/transition.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/wordlist.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/wordlist.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/wordlist.o
bison /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.cc
bison --no-lines -d /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/tbl.y -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.cc
flex /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.cc
flex -L -o/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.cc /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs/scan.l
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -I/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs -I/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.o
host c++ /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.o
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -I/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/src/share/javavm/jcs -I/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs -c /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.cc -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.o
host cc /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/jcs
ccache arm-poky-linux-gnueabi-g++ -march=armv5te -mtune=arm926ej-s -o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/jcs /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compress.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/compute_states.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/debug.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/hash.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/invert.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/item.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/main.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/matchset.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/output.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/POINTERLIST.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/pool_alloc.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/rule.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/state.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/statemap.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/symbol.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/transition.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/wordlist.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/scan.o /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/tbl.o
... running jcs
/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/jcs -a -e \
../../src/portlibs/jit/risc/jitgrammarincludes.jcs ../../src/arm/javavm/runtime/jit/jitgrammarincludes.jcs ../../src/portlibs/jit/risc/jitgrammardefs.jcs ../../src/arm/javavm/runtime/jit/jitgrammardefs.jcs ../../src/portlibs/jit/risc/jitgrammarrules.jcs ../../src/arm/javavm/runtime/jit/jitgrammarrules.jcs \
-o ././generated/javavm/runtime/jit/jitcodegen.c ././generated/javavm/runtime/jit/jitcodegentable.c ././generated/javavm/include/jit/jitcodegen.h
sh: /home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./jcs/jcs: cannot execute binary file
make: *** [/home/kgilmer/dev/workspaces/com.buglabs.build.oe/build/tmp/work/armv5te-poky-linux-gnueabi/phoneme-advanced-personal-mr2-b71/cdc/build/linux-arm-generic/./generated/javavm/runtime/jit/jitcodegen.c] Error 126
FATAL: oe_runmake failed

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16
Points: 0

jcs is built for an run on the host, not the target. It is built using whatever HOST_CCC is set to, which in your case is /usr/bin/ccache, which is the same as your ARM compiler, so this can't be right.

How did HOST_CCC end up getting set. Usually it just defaults to whatever gnumake has as a default for $(CXX).

Chris

ken_gilmer
Offline
Joined: 2007-01-19
Points: 0

Hi Chris...

Thanks for your response. Yes, you are correct. I ended up abandoning my build recipe and started fresh with the Jalimo one. The Jalimo folks are much better at writing recipes. It needed some tweaking but I was eventually able to build pMEA Personal Profile w/ JIT in Poky/Open Embedded. If anyone is interested the recipe will be checked in here once I do some cleanup. Additionally, I will submit them to the Jalimo group.

http://cvs.buglabs.net/cgi-bin/viewvc.cgi/com.buglabs.build.oe/meta-bug/...

Thanks again,
ken