Skip to main content

Building RI FAILED on 64 bit Ubuntu 10.04

2 replies [Last post]
snmukkala
Offline
Joined: 2010-06-02

Hi,

I am building OCAP RI on my Ubuntu. the build is failing and following is the log information. can some one help in fixing this issue.

[exec] [exec] cc -O4 -c -fno-common -Wall -W -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -fwrapv -march=i686 -DCVM_OPTIMIZED -DCVM_DEBUG_CLASSINFO -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_XRUN -DCVM_AGENTLIB -DCVM_JVMTI -DCVM_THREAD_SUSPENSION -DCVM_DYNAMIC_LINKING -DCVM_SPLIT_VERIFY -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=basis -DTARGET_CPU_FAMILY=x86 -DCVM_USE_CVM_MEMALIGN -D_GNU_SOURCE -DCVM_MPE -DCANNOT_COPY_64_AS_DOUBLE -I../../src/share/awt/include -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/x86 -I../../src -I../../src/mpe -I../../src/mpe/native/java/net -I../../src/mpe/native/common -I../../../../../mpe/include -I../../../../../mpe/mgr/include -I../../../../../mpe/os/include -I../../src/mpe-x86 -I../../../../../mpe/os/RI_Common/include -I../../../../../mpe/os/RI_Linux/include -DMPE_LITTLE_ENDIAN -DJNI_LIB_PREFIX="\"lib\"" -DJNI_LIB_SUFFIX="\".so\"" -DJNICALL="" -DJNIIMPORT="" -DJNIEXPORT="" -DPATH_SEPARATOR_CHAR="\":\"" -DMPE_TARGET_OS_LINUX -o obj/gen_semispace.o ../../src/share/javavm/runtime/gc/generational/gen_semispace.c
[exec] [exec] ../../src/share/javavm/runtime/gc/generational/gen_semispace.c:1: error: CPU you selected does not support x86-64 instruction set
[exec] [exec] make: *** [obj/gen_semispace.o] Error 1
[exec]
[exec] BUILD FAILED
[exec] /home/sanjay/repository/d-alviso/t2w_OCAPRI/mainline/ri/ODLSrc/OCAP-1.0/build.xml:271: The following error occurred while executing this line:
[exec] /home/sanjay/repository/d-alviso/t2w_OCAPRI/mainline/ri/ODLSrc/OCAP-1.0/jvm/build.xml:53: The following error occurred while executing this line:
[exec] /home/sanjay/repository/d-alviso/t2w_OCAPRI/mainline/ri/ODLSrc/OCAP-1.0/jvm/phoneME/build.xml:155: exec returned: 2
[exec]
[exec] Total time: 3 seconds
[exec] Result: 1

BUILD SUCCESSFUL
Total time: 4 seconds

Thanks & Regards,
Satya

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
greg80303
Offline
Joined: 2008-07-03

The RI is not yet functional on 64-bit operating systems (either Windows or Linux). We have no immediate plans to support it at this time.

snmukkala
Offline
Joined: 2010-06-02

Thanks a lot.