harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hogstrom <m...@hogstrom.org>
Subject Error attempting to compile working_vm on x86_64 Linux Platform
Date Tue, 27 Mar 2007 06:36:08 GMT
I'm interested in testing Apache Geronimo on Harmony.

So, I checked out Harmony and followed the getting setup  
instructions.  I am building on a Open SuSE  10.2 system.  The  
working_classlib builds successfully and I am now building the  
working_vm portion.  During this build I am getting a compilation  
error during the native vm.core.  Specifically in module  
finalizer_thread.cpp (see the specific error below).

         === Begin Ant Build Muck ===

      [echo] ## Building native of 'vm.vmcore'
     [mkdir] Created dir: /home/hogstrom/harmony/enhanced/trunk/ 
     [mkdir] Created dir: /home/hogstrom/harmony/enhanced/trunk/ 

        [cc] 0 total files to be compiled.

        [cc] 154 total files to be compiled.
        [cc] /home/hogstrom/harmony/enhanced/trunk/working_vm/vm/ 
vmcore/src/init/finalizer_thread.cpp: In function ‘IDATA  
        [cc] /home/hogstrom/harmony/enhanced/trunk/working_vm/vm/ 
vmcore/src/init/finalizer_thread.cpp:174: error: cast from ‘void*’ to  
‘int’ loses precision

         === End Ant Build Muck ===

I expect I'm missing an obvious setup issue for the X86_64  
environment.  If y'all have a suggestion that would be most excellent.

Here is some info on my environment:

uname -a yields:
Linux nique #1 SMP Mon Nov 27 11:46:27 UTC 2006  
x86_64 x86_64 x86_64 GNU/Linux

hogstrom@nique:~/harmony/enhanced/trunk/working_vm/build> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr -- 
with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/ 
share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- 
languages=c,c++,objc,fortran,obj-c++,java,ada --enable- 
checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 -- 
enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 -- 
with-system-zlib --enable-shared --enable-__cxa_atexit --enable- 
libstdcxx-allocator=new --program-suffix=-4.1 --enable-version- 
specific-runtime-libs --without-system-libunwind --with-cpu=generic -- 
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)

According to the install instructions 3.1.1 I think was the minimum  
GCC level.  This one seems to be fairly current.

I can provide more info if needed but hopefully this will be enuf.

Thanks in advance.

Matt Hogstrom
View raw message