From harmony-dev-return-7153-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Thu May 04 05:29:31 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 27182 invoked from network); 4 May 2006 05:29:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2006 05:29:31 -0000 Received: (qmail 59478 invoked by uid 500); 4 May 2006 05:29:29 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 59436 invoked by uid 500); 4 May 2006 05:29:26 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 59425 invoked by uid 99); 4 May 2006 05:29:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 22:29:26 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 195.212.29.135 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.135] (HELO mtagate2.uk.ibm.com) (195.212.29.135) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 22:29:25 -0700 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.13.6/8.13.6) with ESMTP id k445T3aN028460 for ; Thu, 4 May 2006 05:29:03 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k445TqLp033474 for ; Thu, 4 May 2006 06:29:52 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.13.3) with ESMTP id k445T21j016833 for ; Thu, 4 May 2006 06:29:02 +0100 Received: from anaheim.local (sig-9-145-15-162.uk.ibm.com [9.145.15.162]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id k445T2wA016826; Thu, 4 May 2006 06:29:02 +0100 Message-Id: <200605040529.k445T2wA016826@d06av02.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-7) with nmh-1.1 From: Mark Hindess To: harmony-dev@incubator.apache.org Cc: "Andrey Chernyshev" Subject: Re: DRLVM contribution - try this out! In-reply-to: Your message of "Wed, 03 May 2006 18:21:37 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 May 2006 06:29:01 +0100 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 3 May 2006 at 18:21, "Elford, Chris L" wrote: > Hi all, > > Since I shared initial experiences with this package, I thought I > should do the same on Linux. I have not experienced as much luck there > yet. > > A few notes: > > 1) If you are behind a proxy, make sure to follow the instructions > regarding setting up the svn proxy [~/.subversion/servers]. The proxy > parameters to build.sh are not passed on to svn. > > 2) Don't try to use gcj as the JAVA_HOME for initial compilation. I > tried this first but it looks for a tools.jar that gcj doesn't have. =20 > > 3) I did not experience much success on Fedora Core 5. I believe it is > a compiler issue w/ C++ compatibility [FC5 ships with gcc 4.1.0-3]. > The errors that I get on Fedora core 5 are: > > [cc] > /usr/local/src/Harmony/build/lnx_ia32_gcc_release/semis/extra/log4cxx/sr > c/include/log4cxx/xml/domconfigurator.h:243: error: extra qualification > 'log4cxx::xml::DOMConfigurator::' on member 'subst' > [cc] > /usr/local/src/Harmony/build/lnx_ia32_gcc_release/semis/extra/log4cxx/sr > c/include/log4cxx/helpers/unicodehelper.h:98: error: extra qualification > 'log4cxx::helpers::UnicodeHelper::' on member 'lengthUTF8' > [cc] > /usr/local/src/Harmony/build/lnx_ia32_gcc_release/semis/extra/log4cxx/sr > c/include/log4cxx/helpers/unicodehelper.h:98: error: extra qualification > 'log4cxx::helpers::UnicodeHelper::' on member 'lengthUTF8' > [cc] > /usr/local/src/Harmony/build/lnx_ia32_gcc_release/semis/extra/log4cxx/sr > c/include/log4cxx/xml/domconfigurator.h:243: error: extra qualification > 'log4cxx::xml::DOMConfigurator::' on member 'subst' > [cc] > /usr/local/src/Harmony/build/lnx_ia32_gcc_release/semis/extra/log4cxx/sr > c/include/log4cxx/helpers/unicodehelper.h:98: error: extra qualification > 'log4cxx::helpers::UnicodeHelper::' on member 'lengthUTF8' > > 4) I switched back to a Fedora Core 4 system in the hopes that this > would resolve the compiler issue. Fedora Core 4 comes with gcc > 4.0.0-8. That doesn't see the errors above but has numerous warnings > then errors out with some C++ template prototype mismatches. I can > send a log with the warnings/errors if desired. > > The readme indicates that gcc is supported [CXX=gcc]. > > Is there a specific version of gcc required to get this to compile on > Fedora Core 4 or Fedora Core 5? In case this helps anyone else on Linux, I had a few problems: 1) missing bfd.h Fixed by installing binutils-dev on Debian. 2) Missing ext/stl_hash_fun.h I was using gcc/g++/libstdc++ 4.0.3 and this header file is called ext/hash_fun.h on this version. I figure from this that it was intended to be built using an older 3.x version where the header has the required name. Using gcc 3.3.6, I'm stuck building native of vm.jitrino with link errors: build.native.link: [cc] 0 total files to be compiled. [cc] Starting link [cc] `.L3696' referenced in section `.rodata' of ../_obj/JavaLabelPrepass.o: defined in discarded section `.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of ../_obj/JavaLabelPrepass.o [cc] `.L3681' referenced in section `.rodata' of ../_obj/JavaLabelPrepass.o: defined in discarded section `.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of ../_obj/JavaLabelPrepass.o [cc] `.L3695' referenced in section `.rodata' of ../_obj/JavaLabelPrepass.o: defined in discarded section `.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of ../_obj/JavaLabelPrepass.o [cc] `.L3682' referenced in section `.rodata' of ../_obj/JavaLabelPrepass.o: defined in discarded section `.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of ../_obj/JavaLabelPrepass.o I decided it was time to get sleep at that point. I will resume investigating this later. Regards, Mark. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org