Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 17209 invoked from network); 30 Nov 2006 14:43:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 14:43:23 -0000 Received: (qmail 89069 invoked by uid 500); 30 Nov 2006 14:43:29 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88899 invoked by uid 500); 30 Nov 2006 14:43:29 -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 88890 invoked by uid 99); 30 Nov 2006 14:43:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 06:43:29 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of irlyanov@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 06:43:13 -0800 Received: by wr-out-0506.google.com with SMTP id 55so913941wri for ; Thu, 30 Nov 2006 06:42:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Rq3oWUfwe+Sfz35V0upbZHbbeZjKMn85klUB1Jt8g9GXmQV7xatqqb0eEbhJ0hbaaT8eLnBAq5bTKkMCzO6pPDBW6IcjJoqzh1eMiNxiOzb3ggPkKUWWRfOfTl56js3dnDaE27OpFo1SYAxo/97usU+bfT0NRklcN4Sr4auHWuM= Received: by 10.90.79.6 with SMTP id c6mr3608337agb.1164897772161; Thu, 30 Nov 2006 06:42:52 -0800 (PST) Received: by 10.65.35.4 with HTTP; Thu, 30 Nov 2006 06:42:51 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2006 17:42:52 +0300 From: "Dmitry Irlyanov" To: dev@harmony.apache.org Subject: Re: [build] HWA doesn't work In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_37145_18480231.1164897772079" References: <456D891F.9080101@pobox.com> <456DDC61.3070103@pobox.com> <456EE332.2000401@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_37145_18480231.1164897772079 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Geir, Evgueni May be you are right, I've just explained my own opinion :) Of course, missing stability due to inlining is a bug But I don't know the compiler optimisation features and refer to a compiler as a universal product that can be used ererywhere - so we should apply it with all it's features-bugs. 2006/11/30, Evgueni Brevnov : > Sorry - I don't understand either. Could you explain please? > > Evgueni > > On 11/30/06, Geir Magnusson Jr. wrote: > > Sorry - how can it be a classloader bug if every other compiler we've > > built with doesn't have a problem? > > > > geir > > > > > > Dmitry Irlyanov wrote: > > > Geir, > > > > > > I think it is rather a classloader bug. > > > JIRA $B-b(B2375 has been created ( > > > http://issues.apache.org/jira/browse/HARMONY-2375) > > > > > > ________________ > > > With Best Regards, > > > Irlyanov Dmitry > > > Intel Corporation > > > Middleware Products Division > > > > > > 2006/11/29, Geir Magnusson Jr. : > > >> > > >> Just can't wait to see the JIRA... what is the solution? is this an > > >> Intel compiler bug? > > >> > > >> geir > > >> > > >> Dmitry Irlyanov wrote: > > >> > Tested on Revision: 480581 > > >> > > > >> > before any changes: > > >> >> ./java Hello > > >> > Failed to open JVM DLL: > > >> > > > >> > /harmony/trunk/working_vm/build/lnx_ia32_icc_release/deploy/jre/bin/default/harmonyvm > > >> > > >> > > > >> > > > >> > (harmony/trunk/working_vm/build/lnx_ia32_icc_release/deploy/jre/bin/default/libharmonyvm.so: > > >> > > >> > > > >> > undefined symbol: > > >> > _ZN20BootstrapClassLoader13SetBCPElementEPKcP10apr_pool_t) > > >> > > > >> > after removing inline option of SetBCPElement in > > >> > > \harmony\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp > > >> >> ./java Hello > > >> > Hello > > >> > > > >> > Thank you, Mikhail! > > >> > > > >> > Now I'm preparing the patch and creating a JIRA issue. > > >> > > > >> > > > >> > 2006/11/29, Dmitry Irlyanov : > > >> >> > > >> >> I think, it is the most likely reason :) > > >> >> Now I'll test this issue and after the testing inform the result. > > >> >> > > >> >> 2006/11/29, Mikhail Fursov : > > >> >> > > > >> >> > Actually I do not understand why this method is marked as > > >> "inline" in > > >> >> > cpp. > > >> >> > Could it be the reason? > > >> >> > > > >> >> > On 11/29/06, Dmitry Irlyanov wrote: > > >> >> > > > > >> >> > > Compiler: icc (ICC) 9.0 20051020 > > >> >> > > > > >> >> > > OS:SuSE Linux 9.2 (i586) > > >> >> > > > > >> >> > > 2006/11/29, Geir Magnusson Jr. < geir@pobox.com>: > > >> >> > > > > >> >> > > > What toolset? > > >> >> > > > > > >> >> > > > Dmitry Irlyanov wrote: > > >> >> > > > > Mikhail, > > >> >> > > > > > > >> >> > > > > The system was built from the very beginning (svn co)) > > >> >> > > > > This error received after the following command: > > >> >> > > > > > > >> >> > > > > ./java -classpath . Hello > > >> >> > > > > > > >> >> > > > > May be this exotic output is happen by reason of exotic > > >> compiler? > > >> >> > > > > > > >> >> > > > > 2006/11/29, Mikhail Fursov < mike.fursov@gmail.com>: > > >> >> > > > >> > > >> >> > > > >> Dmitry, > > >> >> > > > >> SetBCPElement has become public inside of vmcore module > after > > >> >> > H2008 > > >> >> > > is > > >> >> > > > >> applied. This is the only change I remember for this > method. > > >> >> > > > >> Also it's very strange that you can link DRLVM and get > this > > >> >> error > > >> >> > on > > >> >> > > > >> runtime > > >> >> > > > >> : this method is vmcore library local. > > >> >> > > > >> Did you try clean build? > > >> >> > > > >> > > >> >> > > > >> > > >> >> > > > >> On 11/29/06, Dmitry Irlyanov < irlyanov@gmail.com> wrote: > > >> >> > > > >> > > > >> >> > > > >> > Good day! > > >> >> > > > >> > > > >> >> > > > >> > I've successfully build class libraries and DRLVM on > Linux, > > >> >> but > > >> >> > the > > >> >> > > > >> build > > >> >> > > > >> > doesn't work. > > >> >> > > > >> > After starting Hello World Application the followinng > > >> >> > exceptionis > > >> >> > > > >> thrown: > > >> >> > > > >> > > > >> >> > > > >> > Failed to open JVM > > >> >> > > > >> > > > >> >> > > > >> > > > >> >> > > > >> > > >> >> > > > > > >> >> > > > > >> >> > > > >> >> > > >> > DLL:/drlvm/trunk/build/lnx_ia32_icc_release/deploy/jre/bin/default/harmonyvm(/drlvm/trunk/build/lnx_ia32_icc_release/deploy/jre/bin/default/libharmonyvm.so: > > >> > > >> >> > > >> >> > > > >> >> > > > >> > > >> >> > > > >> > undefined symbol: > > >> >> > > > >> > > _ZN20BootstrapClassLoader13SetBCPElementEPKcP10apr_pool_t) > > >> >> > > > >> > > > >> >> > > > >> > Do you know the cause of this error? > > >> >> > > > >> > Should I add this to JIRA or it is my fault? > > >> >> > > > >> > _______________ > > >> >> > > > >> > With Best Regards, > > >> >> > > > >> > Irlyanov Dmitry > > >> >> > > > >> > Intel Corporation > > >> >> > > > >> > Middleware Products Division > > >> >> > > > >> > > > >> >> > > > >> > > > >> >> > > > >> > > >> >> > > > >> > > >> >> > > > >> -- > > >> >> > > > >> Mikhail Fursov > > >> >> > > > >> > > >> >> > > > >> _______________ > > >> >> > > > > With Best Regards, > > >> >> > > > > Irlyanov Dmitry > > >> >> > > > > Intel Corporation > > >> >> > > > > Middleware Products Division > > >> >> > > > > > > >> >> > > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > -- > > >> >> > > _______________ > > >> >> > > With Best Regards, > > >> >> > > Irlyanov Dmitry > > >> >> > > Intel Corporation > > >> >> > > Middleware Products Division > > >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > -- > > >> >> > Mikhail Fursov > > >> >> > > > >> >> > > > >> >> > > >> >> > > >> >> -- > > >> >> _______________ > > >> >> With Best Regards, > > >> >> Irlyanov Dmitry > > >> >> Intel Corporation > > >> >> Middleware Products Division > > >> >> > > >> > > > >> > > > >> > > > >> > > > > > > -- _______________ With Best Regards, Irlyanov Dmitry Intel Corporation Middleware Products Division ------=_Part_37145_18480231.1164897772079--