harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: [build] build drlvm error on SUSE x86_64
Date Thu, 29 Oct 2009 07:45:18 GMT
chunrong lai wrote:
>  Is your Gcc 32 bits or 64 bits?
>  According to the error message the drlvm thinks that it is built in a
> 32bits platform.
> On Thu, Oct 29, 2009 at 1:28 PM, Regis <xu.regis@gmail.com> wrote:
> 
>> Hi,
>>
>> Today, I'm trying to build drlvm on SUSE x86_64 but got a error:
>>
>> drlvm-echo:
>>     [echo] DRLVM build Configuration:
>>     [echo]      Hosting Java = 1.6.0 (IBM Corporation)
>>     [echo]                os = linux
>>     [echo]              arch = x86
>>     [echo]   hy.cpp.compiler = gcc
>>     [echo]               cfg = debug
>>     [echo]      svn revision = 830845
>>     [echo]     hy.local.zlib = false
>>     [echo]  common resources = /home/ruizhi/common_resources
>>     [echo]          HDK root = /home/ruizhi/working_classlib/deploy
>>     [echo]        target dir =
>> /home/ruizhi/working_vm/build/linux_x86_gcc_debug/deploy
>>
>> -auto-fetch:
>>
>> setup:
>>
>> encoder:
>>
>> -plugin-cpptasks:
>>     [echo] Checking for
>> /home/ruizhi/common_resources/depends/jars/cpptasks-1.0b4/cpptasks.jar
>>
>> setup-native-build:
>>
>> init-compression-mode:
>>
>> -common-vm:
>>
>> build:
>>     [echo] ## Building 'encoder'
>>       [cc] Starting dependency analysis for 3 files.
>>       [cc] 3 files are up to date.
>>       [cc] 0 files to be recompiled from dependency analysis.
>>       [cc] 1 total files to be compiled.
>>       [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h: In
>> member function ‘void Registers::set_ip(void*)’:
>>       [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h:216:
>> error: cast from ‘void*’ to ‘U_32’ loses precision
>>       [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h: In
>> member function ‘void Registers::set_sp(void*)’:
>>       [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h:218:
>> error: cast from ‘void*’ to ‘U_32’ loses precision
>>
>> BUILD FAILED
>> /home/ruizhi/working_vm/build.xml:118: The following error occurred while
>> executing this line:
>> /home/ruizhi/working_vm/make/vm/encoder.xml:32: The following error
>> occurred while executing this line:
>> /home/ruizhi/working_vm/make/build-native.xml:163: gcc failed with return
>> code 1
>>
>> Our Hudson build passed normal, so it should work fine. Anyone can help to
>> point out what's wrong here? Thanks.
>>
>> cat /etc/issue
>>
>> Welcome to SUSE Linux Enterprise Server 10 SP1 (x86_64) - Kernel \r (\l).
>>
>>
>> --
>> Best Regards,
>> Regis.
>>
> 

It works when I changed to use 64-bits JRE. Thanks.

-- 
Best Regards,
Regis.

Mime
View raw message