Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 66928 invoked from network); 3 Nov 2008 15:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 15:38:01 -0000 Received: (qmail 42679 invoked by uid 500); 3 Nov 2008 15:38:05 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 42659 invoked by uid 500); 3 Nov 2008 15:38:05 -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 42648 invoked by uid 99); 3 Nov 2008 15:38:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 07:38:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oliver.deakin@googlemail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 15:36:45 +0000 Received: by ug-out-1314.google.com with SMTP id m2so1959719ugc.22 for ; Mon, 03 Nov 2008 07:37:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=b0I67dqjmse0g4XlGv+fvCt8b03iCHndEgwqOHXcpD4=; b=vajwzB8CtOsNKsDTy1uQK8dTedn/lAZjDnCpWtWgsFdZobkh5WoUj2+g/+93XkWcwY B4e7am+BfuVsVyFLnbYvLzC9uQHY/m90Pf7ROJVfxzX9n/YAKHntoPbgaehIHT3DNfWc s6AP2+pSJZihx8oTB9iRPNEwNBDxMi2f4FRI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=fDNZV1iSjnhB0POn4FRKezG9t1KxaOvdzIYRtK+DH+1+gN2nXBhjVgd5DT+dYSplvH CHkk/Ex8Owih+YhmuxdMolL1bsGwuFpcdK0ItA32c0Ecae92RiQc+EjnVN+SmbPkyVLn oahfFSJr3fdE2ttlQgE3rD5iMa9r52eNU4tZM= Received: by 10.66.232.9 with SMTP id e9mr2122234ugh.17.1225726643204; Mon, 03 Nov 2008 07:37:23 -0800 (PST) Received: from ?9.20.183.66? (blueice4n2.uk.ibm.com [195.212.29.92]) by mx.google.com with ESMTPS id c4sm37531743nfi.13.2008.11.03.07.37.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 07:37:21 -0800 (PST) Message-ID: <490F1AB1.7030909@googlemail.com> Date: Mon, 03 Nov 2008 15:37:21 +0000 From: Oliver Deakin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [general] Harmony on PowerPC References: <238C6E77EA42504DA038BAEE6D1C11EC3CBA94@zcarhxm0.corp.nortel.com> In-Reply-To: <238C6E77EA42504DA038BAEE6D1C11EC3CBA94@zcarhxm0.corp.nortel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark, I have worked on porting the Harmony class library to the PPC Linux platform, and have a working local copy which is able to pass 99% of the Harmony class library tests (running on top of a specially built version of the IBM VME for that platform). Most of the changes required are already in Harmony Subversion, although I have a few small changes here that will need to be made via a contribution to the project. Note, this porting work has been carried out on the class libraries only, not on DRLVM. Regarding the assembly code in the thread library, I have been building using the "-Dhy.no.thr=true" option which stops the classlib thread library being built and instead uses the VM provided thread library, if it is available. The PPC Linux IBM VM I was using provides a libhythr.so of its own which gives the class libraries the required threading functionality. However, DRLVM does not currently have an implementation of its thread library available for PPC Linux (as far as I know), so you may be stuck here for now unless you are able to implement that functionality yourself. Regards, Oliver Mark Gertsvolf wrote: > Hello, > > I am trying to run Java application on a PowerPC Linux distro, which is > old - Kernel 2.4.22 and glibc 2.3.2. > I could not use off-the-shelf binary distributions of JVM from Sun or > IBM as I need to build the JVM from source using my toolchain. With help > from this list (Thank you, Tim) I was able to successfully run my Java > application with Harmony on CentOS 5, x86 as an initial proof of > concept. > > I am now trying to build Harmony on PowerPC platform. I have built a few > modules of classlib, but encountered a problem in threads portlib > module, where a number of functions are implemented in assembly language > and the ppc implementation is missing. > Apart from portlib thread module there seem to exist only two more VM > modules with assembly code and PPC specific implementation is missing. > > The "supported platforms" section on the project website indicates that > the PPC port is in progress. > What is the current status of PowerPC porting? Is anybody running > Harmony on PowerPC? > > Thank you in advance, > Mark. > > > > > > -- Oliver Deakin Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU