Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 32038 invoked from network); 29 Oct 2009 05:35:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 05:35:05 -0000 Received: (qmail 13545 invoked by uid 500); 29 Oct 2009 05:35:04 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 13463 invoked by uid 500); 29 Oct 2009 05:35:04 -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 13452 invoked by uid 99); 29 Oct 2009 05:35:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 05:35:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chunronglai@gmail.com designates 209.85.221.189 as permitted sender) Received: from [209.85.221.189] (HELO mail-qy0-f189.google.com) (209.85.221.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 05:34:56 +0000 Received: by qyk27 with SMTP id 27so954174qyk.20 for ; Wed, 28 Oct 2009 22:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=3okWb3zK+CDK2dyiHnty259fV95RJAIdzrV2sWcPjxk=; b=hEKhP5fsFrmJbGMMdfAJfm0pZaI0FJh1yJJTgy8huXOwE3Oed3iVYgHq8Hyat3pcuQ sGa+36ws259RIf+CncZoOcicPcTd1DA+uZAmmDHh+khRqjz2vG7jaDsxK+3TN1utxVo1 f+/csW6CYFR5OYrVgh+XCnO3woD/HmnfV9bog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lAIwASwCmNZnhqNlsAOmxbUIWRLfeJChXMKTt8aoD5fQTT1Mvtzp3NEFKB40R0POj7 TQPoB5cVljopr9dqGtBCY2aGDxbD+cqrKzEyMznIKTQOJDg+QmZQbeEpcW8FU9YNFrf3 3AEJd5OO3xTvFA8bog6EeBj5WHz+ig0u0N4yc= MIME-Version: 1.0 Received: by 10.229.92.211 with SMTP id s19mr1128973qcm.46.1256794474983; Wed, 28 Oct 2009 22:34:34 -0700 (PDT) In-Reply-To: <4AE9280F.2030408@gmail.com> References: <4AE9280F.2030408@gmail.com> Date: Thu, 29 Oct 2009 13:34:34 +0800 Message-ID: Subject: Re: [build] build drlvm error on SUSE x86_64 From: chunrong lai To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=000e0cd6b2ee3cb3b204770c4438 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd6b2ee3cb3b204770c4438 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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 =3D 1.6.0 (IBM Corporation) > [echo] os =3D linux > [echo] arch =3D x86 > [echo] hy.cpp.compiler =3D gcc > [echo] cfg =3D debug > [echo] svn revision =3D 830845 > [echo] hy.local.zlib =3D false > [echo] common resources =3D /home/ruizhi/common_resources > [echo] HDK root =3D /home/ruizhi/working_classlib/deploy > [echo] target dir =3D > /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 =91void Registers::set_ip(void*)=92: > [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h:216: > error: cast from =91void*=92 to =91U_32=92 loses precision > [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h: In > member function =91void Registers::set_sp(void*)=92: > [cc] /home/ruizhi/working_vm/vm/include/open/platform_types.h:218: > error: cast from =91void*=92 to =91U_32=92 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 t= o > 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. > --000e0cd6b2ee3cb3b204770c4438--