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] Commented: (HARMONY-5871) Cannot build 32bit C libraries on X86_64 Linux host
Date Thu, 12 Jun 2008 22:42:46 GMT

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

Ian Rogers commented on HARMONY-5871:
-------------------------------------

Forcing the architecture with hy.arch=x86 gets further, the build dies with:

     [exec] -build-native-thread:
     [exec]      [echo] Making "" in /home/ian/harmony-rvm/components/harmony/5.0M5/harmony/modules/portlib/src/main/native/thread/unix
     [exec]      [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -DIPv6_FUNCTION_SUPPORT -D_REENTRANT
-I/home/ian/harmony-rvm/components/harmony/5.0M5/harmony/deploy/include -I/home/ian/harmony-rvm/components/harmony/5.0M5/harmony/deploy/jdk/include
-I. -I../shared/ -fpic -march=pentium3 -ggdb -O0 -w -pipe -ggdb3 -O -fPIC -m32   -c -o ../shared/thread_copyright.o
../shared/thread_copyright.c
     [exec]      [exec] as   -o x86/thrhelp.o x86/thrhelp.s
     [exec]      [exec] x86/thrhelp.s: Assembler messages:
     [exec]      [exec] x86/thrhelp.s:46: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:48: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:49: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:50: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:64: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:65: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:66: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:67: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:78: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:80: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:81: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:82: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:89: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:90: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:91: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:92: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:103: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:105: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:106: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:107: Error: suffix or operands invalid for `push'
     [exec]      [exec] x86/thrhelp.s:114: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:115: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:116: Error: suffix or operands invalid for `pop'
     [exec]      [exec] x86/thrhelp.s:117: Error: suffix or operands invalid for `pop'
     [exec]      [exec] make: *** [x86/thrhelp.o] Error 1


> 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.


Mime
View raw message