Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 42506 invoked from network); 27 Mar 2007 12:52:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 12:52:38 -0000 Received: (qmail 60602 invoked by uid 500); 27 Mar 2007 12:52:43 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 60454 invoked by uid 500); 27 Mar 2007 12:52:43 -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 60440 invoked by uid 99); 27 Mar 2007 12:52:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 05:52:42 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 05:52:34 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HWB9k-0007hp-CV for dev@harmony.apache.org; Tue, 27 Mar 2007 14:52:08 +0200 Received: from 195.161.50.68 ([195.161.50.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2007 14:52:08 +0200 Received: from gshimansky by 195.161.50.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2007 14:52:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Gregory Shimansky Subject: Re: [drlvm][build] Error attempting to compile working_vm on x86_64 Linux Platform Date: Tue, 27 Mar 2007 16:51:50 +0400 Lines: 58 Message-ID: References: <906dd82e0703270018h4adac080sad9d7fc5c591d0b9@mail.gmail.com> <7273946b0703270051l523d4fb3qa8d3eb65ca04032b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 195.161.50.68 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <7273946b0703270051l523d4fb3qa8d3eb65ca04032b@mail.gmail.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Vladimir Ivanov wrote: > On 3/27/07, Mikhail Loenko wrote: >> How to fix it in SVN? I've fixed this in 522890. The commit for HARMONY-3485 added a local variable that isn't used. GCC 4.1.1 produced a warning for this variable initialization that I reproduced on my Gentoo installation. BTW GC_GEN doesn't build on GCC 4.1.1 too but I don't really know how to fix. Xiao-Feng, could you please take a look at it? >> Do we have a CC configuration that caught this problem? > > Actually, no. We have CC on top of SUSE 9 with gcc 3.3.3. And it > reports 'passed' status. I've suggested to upgrade the testing target for CC some time ago in [1]. It would really help to catch warnings produced by modern compilers. GCC 3.3.3 is more than 3 years old and most people use distributions with newer versions. [1] http://article.gmane.org/gmane.comp.java.harmony.devel/21903 >> Thanks, >> Mikhail >> >> 2007/3/27, Pavel Pervov : >> > Matt, >> > >> > I expect I'm missing an obvious setup issue for the X86_64 >> > > environment. >> > >> > >> > Most probably, you don't. This was introduced by the commit [1]. >> > >> > >> > >> > > If y'all have a suggestion that would be most excellent. >> > >> > >> > As I see from the code, you can safely remove this line. This >> variable is >> > not used anywhere. >> > >> > [1] >> > >> http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalizer_thread.cpp?view=diff&r1=521689&r2=521690 >> >> > WBR, >> > -- >> > Pavel Pervov, >> > Intel Enterprise Solutions Software Division >> > >> > -- Gregory