harmony-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/HARMONY-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604991#action_12604991
] 

Mark Hindess commented on HARMONY-5871:
---------------------------------------

As I mentioned in my second comment, I was expecting an issue with liblcms, libpng and libjpeg.
 The original awt contribution require that static versions of these libraries be supplied
by the user.  To make life slightly easier the build symlinks the system versions of these
files (as found in the -dev/-devel packages for these libraries).  This is does the right
thing for most users but not when you are (cross) compiling for another architecture which
is effectively what you are doing.

I'm not sure how best to automate fixing this.  Though you can manually replace the symlinks
in depends/libs/build/*/*.linux.x86 with pre-compiled .a libraries of the respective packages
from a 32-bit system.


> 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