From dev-return-38535-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Wed Nov 25 12:39:33 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 55098 invoked from network); 25 Nov 2009 12:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 12:39:32 -0000 Received: (qmail 63489 invoked by uid 500); 25 Nov 2009 12:39:32 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 63404 invoked by uid 500); 25 Nov 2009 12:39:31 -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 63393 invoked by uid 99); 25 Nov 2009 12:39:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 12:39:31 +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 tianwei.sheng@gmail.com designates 209.85.216.199 as permitted sender) Received: from [209.85.216.199] (HELO mail-px0-f199.google.com) (209.85.216.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 12:39:22 +0000 Received: by pxi37 with SMTP id 37so5564583pxi.20 for ; Wed, 25 Nov 2009 04:39:01 -0800 (PST) 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=/jRLJPanSlzFiCsZPwr9xCekMxue0Wo+GYOmp1DO/YI=; b=MfgWra/puKbCWI7KRlJyYZzdXuLYmGRunly4Aiu+TYezcvmbIfJUKno9syt1mp0M/p 8/Y7iJ9dGbKu8FsMKo/h+6FyOu0YL7GTERZ0yBpUVgd47VXT6CIjaucVtTGEoaEAL8W6 hEkmKIHWff9Lnar5b5KkzttMC+vZiplSnMQDM= 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=pWpZRpOJkh7QxzLFvhQxX1YnGeHDtY6nYxryntpFn0A5in3H11SnsiqIAvZQTLTno9 wh294UNFp3V9DKRsEEuH60LlWLb114mhyRx+762X1Ti0Uatr8z2eKjyZOWsZcTa1IQJI bGoCtX5NNVSRiqWzKam5a/8pkYy6c+FcZnDeU= MIME-Version: 1.0 Received: by 10.143.153.29 with SMTP id f29mr766079wfo.294.1259152741553; Wed, 25 Nov 2009 04:39:01 -0800 (PST) In-Reply-To: <61a45a90911151955v3fd1d41av4a3e45d9e2588a91@mail.gmail.com> References: <61a45a90911151955v3fd1d41av4a3e45d9e2588a91@mail.gmail.com> Date: Wed, 25 Nov 2009 20:39:01 +0800 Message-ID: <7618fe50911250439i35119726g4e17a3effd8b904b@mail.gmail.com> Subject: Re: Raw patch for harmony-mips From: Tianwei To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=001636e0b8c8e0d6e404793157c3 X-Virus-Checked: Checked by ClamAV on apache.org --001636e0b8c8e0d6e404793157c3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, Charles, I apply your patch, and build it on X86 linux machines, I met the following compile time error: [compile-cc] gcc -fpic -ftls-model=3Dinitial-exec -fno-exceptions -fPIC -O2= -g -c -DAPR_DECLARE_EXPORT -DBUILDING_VM -DREFS_USE_RUNTIME_SWITCH -DNDEBUG -D_EM64T_ -DHYX86_64 -DPOINTER64 -DLINUX -DPLATFORM_POSIX -D__SMP__ -D_REENTRANT -DLINUX_TLS_OPT -I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/include -I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/include -I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/thread/inc= lude -I/home/tianwei/apache/harmony/trunk-mips/working_vm/build/linux_x86_64_gcc= _release/deploy/include -I/home/tianwei/apache/harmony/trunk-mips/working_classlib/deploy/include /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c:31:24: error: dec_simple.h: No such file or directory [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c: In function =91port_disasm_set_info=92: [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c:276: error: =91ADDR_SIZE=92 undeclared (first use in this function) [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c:276: error: (Each undeclared identifier is reported only once [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c:276: error: for each function it appears in.) [compile-cc] /home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux= /disasm.c:285: error: =91BYTES_SIZE=92 undeclared (first use in this function) I check this problem, it's caused by the following diff: --- ../../import/apache-harmony/working_vm/vm/port/src/disasm/linux/disasm.= c 2009-09-20 21:36:01.000000000 -0700 +++ harmony/working_vm/vm/port/src/disasm/linux/disasm.c 2009-11-15 19:37:02.000000000 -0800 @@ -29,6 +29,7 @@ #include #include "port_disasm.h" +#include however, and two versions of dec_simple.h is added by this patch working_vm/vm/port/src/encoder/mips/dec_simple.h working_vm/vm/port/src/encoder/ia32_em64t/dec_simple.h It seems that these files break the building on X86. Tianwei On Mon, Nov 16, 2009 at 11:55 AM, Charles Hardin wrote= : > All, > > This is guaranteed to be nothing more then the work in progress in our > internal trees. > > It can be used to see what we have done so far, and we will get the > rest out when we complete the work. > > Thanks, > Charles > --=20 Sheng, Tianwei Inst. of High Performance Computing Dept. of Computer Sci. & Tech. Tsinghua Univ. --001636e0b8c8e0d6e404793157c3--