harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Rogers (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5871) Cannot build 32bit C libraries on X86_64 Linux host
Date Fri, 13 Jun 2008 21:57:45 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ian Rogers updated HARMONY-5871:
--------------------------------

    Attachment: build.out2

Updated build output, the environment variables and a property are being set to:

CFLAGS=-m32
CXXFLAGS=-m32
LDFLAGS=-m32
ASFLAGS=--32
hy.arch=x86

The build is dying because liblcms.a is an x86_64 binary and cannot be linked when building
liblcmm.so . The build output shows a complete checkout of Harmony, the fetch depends occurring
with all all flags/properties set, and then the same for build.

The set properties are in this file:
http://jikesrvm.svn.sourceforge.net/viewvc/jikesrvm/rvmroot/trunk/build/hosts/x86_64-linux.properties?revision=14496&view=markup
The revised harmony build script is here:
http://jikesrvm.svn.sourceforge.net/viewvc/jikesrvm/rvmroot/trunk/build/components/harmony.xml?revision=14496&view=markup#l_70

It appears there is an error building/fetching liblcms.a but it is not clear from the build
output why. If liblcms.a is being built it is not respecting the variables that are set.

> 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, build.out2
>
>
> 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.


Mime
View raw message