From dev-return-38315-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Oct 29 05:45:34 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 33815 invoked from network); 29 Oct 2009 05:45:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 05:45:33 -0000 Received: (qmail 21612 invoked by uid 500); 29 Oct 2009 05:45:33 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 21541 invoked by uid 500); 29 Oct 2009 05:45:32 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 21530 invoked by uid 99); 29 Oct 2009 05:45:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 05:45:32 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xu.regis@gmail.com designates 209.85.216.193 as permitted sender) Received: from [209.85.216.193] (HELO mail-px0-f193.google.com) (209.85.216.193) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 05:45:30 +0000 Received: by pxi31 with SMTP id 31so1042896pxi.20 for ; Wed, 28 Oct 2009 22:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=m/qy2RZrute4LDlLI+I5Mp16Y7NyrNBqBMo7SiTW4ao=; b=fNSheOVcnciVjTjRxBnZ1eNpXS/SGs2BFh4OL5LWtxZocf3ltqIJJAuSnkHjCCvJJv eyF7WQGCF8oxQu26R7WsYGPAt0noL8bQWZ4FhOd8fPTEhvRHgl0BPGkDq5G8AjWMR8dl BU60UwTfHDK2IXdV4JETw4dA206ghm0oNwQ5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jxf/39gcOFCCu8Nta2tCS4eHJHBkGpJZg1LTbPGsz8F+RqFAcK1LqrFYHMGrZi4Lyi dHB7mxdA0KkYG2aVTtBriz1kQ2U/z3MtFGW+wmCFll3pRQ3MtApdzsZdODiSJdF1qiP9 6e3kmT5Hmbsghm6L93HhuAieJAbwyfjd8u1G8= Received: by 10.114.2.38 with SMTP id 38mr1702460wab.64.1256795110132; Wed, 28 Oct 2009 22:45:10 -0700 (PDT) Received: from ?9.123.237.125? ([220.248.0.145]) by mx.google.com with ESMTPS id 22sm1062485pxi.10.2009.10.28.22.45.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Oct 2009 22:45:08 -0700 (PDT) Message-ID: <4AE92BE1.4040604@gmail.com> Date: Thu, 29 Oct 2009 13:45:05 +0800 From: Regis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [build] build drlvm error on SUSE x86_64 References: <4AE9280F.2030408@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit chunrong lai wrote: > Is your Gcc 32 bits or 64 bits? It's 64 bits file /usr/bin/gcc /usr/bin/gcc: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped > According to the error message the drlvm thinks that it is built in a > 32bits platform. I tried: ant -Dhy.arch=x86_64 the error is similar: drlvm-echo: [echo] DRLVM build Configuration: [echo] Hosting Java = 1.6.0 (IBM Corporation) [echo] os = linux [echo] arch = x86_64 [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_64_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 -- Best Regards, Regis.