Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 63744 invoked from network); 12 Jun 2008 22:23:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 22:23:14 -0000 Received: (qmail 79293 invoked by uid 500); 12 Jun 2008 22:23:16 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 79273 invoked by uid 500); 12 Jun 2008 22:23:16 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 79264 invoked by uid 99); 12 Jun 2008 22:23:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 15:23:16 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 22:22:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D4D3234C13E for ; Thu, 12 Jun 2008 15:22:45 -0700 (PDT) Message-ID: <505391136.1213309365184.JavaMail.jira@brutus> Date: Thu, 12 Jun 2008 15:22:45 -0700 (PDT) From: "Ian Rogers (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5871) Cannot build 32bit C libraries on X86_64 Linux host In-Reply-To: <1203617411.1213300485074.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Rogers updated HARMONY-5871: -------------------------------- Attachment: build.out Thanks Mark, you are quite right that I wasn't defining LDFLAGS - with defining them I still cannot get Harmony r653525 to build with -m32. Attached is the output of the build, the environment variables were: CXXFLAGS=-w -pipe -ggdb3 -O -fPIC -m32 CFLAGS=-w -pipe -ggdb3 -O -fPIC -m32 LDFLAGS=-w -pipe -ggdb3 -O -fPIC -m32 -shared The build is of Jikes RVM on a OpenSuSE 10.3 machine. The build can be repeated by: svn co https://jikesrvm.svn.sourceforge.net/svnroot/jikesrvm/rvmroot/trunk jikesrvm cd jikesrvm ant -Dhost.name=x86_64.linux -Dclasslib.provider=Harmony -Dconfig.name=prototype The script for building Harmony is: http://jikesrvm.svn.sourceforge.net/viewvc/jikesrvm/rvmroot/trunk/build/components/harmony.xml?revision=14477&view=markup where line 79 is attempting the build. The properties for an x86_64-linux build are: http://jikesrvm.svn.sourceforge.net/viewvc/jikesrvm/rvmroot/trunk/build/hosts/x86_64-linux.properties?revision=14477&view=markup In the attached build output the following patch was applied: Index: build/components/harmony.xml =================================================================== --- build/components/harmony.xml (revision 14478) +++ build/components/harmony.xml (working copy) @@ -77,6 +77,7 @@ + There is a related Jikes RVM bug tracker: http://jira.codehaus.org/browse/RVM-527 > Cannot build 32bit C libraries on X86_64 Linux host > --------------------------------------------------- > > Key: HARMONY-5871 > URL: https://issues.apache.org/jira/browse/HARMONY-5871 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M6 > Environment: x86_64 GNU/Linux > Reporter: Ian Rogers > Assignee: Mark Hindess > Attachments: build.out > > > I would like to build a 32bit version of Harmony on a x86_64 linux system for a VM with incomplete x86_64 support. Setting the CFLAGS and CXXFLAGS to define -m32 causes a failure during linking the C libraries (not all the components have picked up the CFLAGS). Running the build under linux32 is also unsuccessful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.