Skip to main content

fail to build cldc of mr2 for linux-arm platform (AsmStubs_arm.s)

No replies
cxc1000
Offline
Joined: 2008-07-25

hi,
all.I build cldc of mr2 for linux-arm platform. why the makefile will build AsmStubs_i386?
can anyone tell me what's wrong?
I found AsmStubs_mips.s, AsmStubs_i386.s, AsmStubs_mips.s, AsmStubs_powerpc.s
and AsmStubs_sparc.s in /cldc/src/vm/cpu/c.
Is there a file called AsmStubs_arm.s in that directory?

chen@chen-desktop:~/phoneme2/cldc/build/linux_arm$ make
------------------------------------------------------------------------------------------
arm-linux-g++ -O2 -Wuninitialized -fexpensive-optimizations -fomit-frame-pointer -DARM -DCROSS_GENERATOR=1 -DSUPPORTS_MONOTONIC_CLOCK=0 -D_DEBUG -DAZZERT -pipe -DGCC -Wreturn-type -Wcomment -Wparentheses -Wformat -fstrict-aliasing -D_DEBUG -DAZZERT -DLINUX -DREQUIRES_JVMCONFIG_H=1 -DHARDWARE_LITTLE_ENDIAN=1 -DHOST_LITTLE_ENDIAN=1 -DMSW_FIRST_FOR_DOUBLE=0 -DTARGET_MSW_FIRST_FOR_DOUBLE=1 -DTARGET_MSW_FIRST_FOR_LONG=0 -DJVM_RELEASE_VERSION='"1.1"' -DJVM_BUILD_VERSION='"internal"' -DJVM_NAME='"phoneME Feature VM"' -fno-gnu-keywords -fno-operator-names -fno-exceptions -fno-optional-diags -fno-rtti -I"../generated" -I"/home/chen/phoneme2/cldc/src/vm/share/compiler" -I"/home/chen/phoneme2/cldc/src/vm/share/debugger" -I"/home/chen/phoneme2/cldc/src/vm/share/handles" -I"/home/chen/phoneme2/cldc/src/vm/share/memory" -I"/home/chen/phoneme2/cldc/src/vm/share/interpreter" -I"/home/chen/phoneme2/cldc/src/vm/share/isolate" -I"/home/chen/phoneme2/cldc/src/vm/share/natives" -I"/home/chen/phoneme2/cldc/src/vm/share/reflection" -I"/home/chen/phoneme2/cldc/src/vm/share/runtime" -I"/home/chen/phoneme2/cldc/src/vm/share/utilities" -I"/home/chen/phoneme2/cldc/src/vm/share/ROM" -I"/home/chen/phoneme2/cldc/src/vm/share/verifier" -I"/home/chen/phoneme2/cldc/src/vm/share/float" -I"/home/chen/phoneme2/cldc/src/vm/os/utilities" -I"/home/chen/phoneme2/cldc/src/vm/share/memoryprofiler" -I"/home/chen/phoneme2/cldc/src/vm/os/linux" -I"/home/chen/phoneme2/cldc/src/midp" -I"/home/chen/phoneme2/cldc/src/vm/cpu/arm" -I"/home/chen/phoneme2/cldc/src/vm/cpu/c" -I"/home/chen/phoneme2/cldc/src/vm/cpu/i386" -I"/home/chen/phoneme2/cldc/src/vm/cpu/sh" -I"/home/chen/phoneme2/cldc/src/vm/cpu/thumb" -I"/home/chen/phoneme2/cldc/src/vm/cpu/thumb2" -I"/home/chen/phoneme2/cldc/src/anilib/share" -I"/home/chen/phoneme2/cldc/src/anilib/linux" -I"/home/chen/phoneme2/cldc/src/tools/ads_extender" -c /home/chen/phoneme2/cldc/src/vm/share/runtime/jvmspi.cpp -o jvmspi.o
echo "generating CPU stubs /home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s"
generating CPU stubs /home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s
cpp -Dlinux /home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s > /home/chen/phoneme2/build_output/cldc/linux_arm/romgen/app/AsmStubs_i386.s
arm-linux-as -o AsmStubs_i386.o /home/chen/phoneme2/build_output/cldc/linux_arm/romgen/app/AsmStubs_i386.s

/home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s: Assembler messages:
/home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s:1102: Error: unknown pseudo-op: `.arch'
/home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s:1104: Error: alignment too large: 15 assumed
/home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s:1116: Error: bad instruction `movl $0x00000000,0xfffffff8(%esp)'
/home/chen/phoneme2/cldc/src/vm/cpu/c/AsmStubs_i386.s:1117: Error: bad instruction `movl $0x7bf00000,0xfffffffc(%esp)'

Message was edited by: cxc1000