harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Queinnec (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5114) support for Mac OS
Date Sun, 16 Jan 2011 21:21:45 GMT

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

Pierre Queinnec commented on HARMONY-5114:
------------------------------------------

I can now build Harmony without any hy.skip.thr, hy.no.thr, etc. Patch attached in a few moments.

It succeeds in 3 phases :
# first failure
cp ./target/hdk/jdk/jre/bin/libhythr.dylib target/hdk/lib/

# second failure
cp ./target/build/classlib/portlib/native/port/libhyprt.dylib target/hdk/jdk/jre/bin/

# third failure
mv target/hdk/jdk/jre/bin/libhythr.dylib target/hdk/jdk/jre/bin/libhythr.dylib.old
mv target/hdk/lib/libhythr.dylib target/hdk/lib/libhythr.dylib.old
cp ./target/build/drlvm/all/semis/hythr/bin/libhythr.dylib target/hdk/lib/
cp ./target/build/drlvm/all/semis/hythr/bin/libhythr.dylib target/hdk/jdk/jre/bin/

Now running ./java in target/hdk/jdk/jre/bin gives :

queinnec@pasiphae:/usr/local/src/harmony-java6-trunk/target/hdk/jdk/jre/bin$ ./java -version
PMQ - #2
PMQ - hyport_init_library#1
PMQ - hyport_create_library#4
PMQ - hyport_init_library#2 rc=0
PMQ - hyport_init_library#3 rc=0
PMQ - hyport_init_library#3 rc=0
PMQ - hyport_init_library#4 rc=0
PMQ - #3
PMQ - #4 hyportLibrary= portLibraryVersion= hyport_init_library=0x1722b
PMQ - #2
PMQ - hyport_init_library#1
PMQ - hyport_create_library#4
PMQ - hyport_init_library#2 rc=0
PMQ - hyport_init_library#3 rc=0
PMQ - hyport_init_library#3 rc=0
PMQ - hyport_init_library#4 rc=0
PMQ - #3
PMQ - #4 hyportLibrary= portLibraryVersion= hyport_init_library=0x1722b
Failed to find executable locationAbort trap

It's at drlvm/vm/vmcore/src/init/vm_properties.cpp:159. I'll investigate.
Cheers,
-- Pierre


> support for Mac OS
> ------------------
>
>                 Key: HARMONY-5114
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5114
>             Project: Harmony
>          Issue Type: New Feature
>          Components: VM
>         Environment: Operating system : Mac OS X 10.4+
>            Reporter: Michel Rondeau
>         Attachments: ant.sh, log.2011_01_16-13_16_32, log.2011_01_16-13_16_32.err, PATCH-2011-01-16_2,
PATCH-2011-01-16_3, PMQ, pmq.sh
>
>
> Actually neither Sun nor Apple provide support for Java 1.6 on Leopard (OS X 10.6) while
this release has been available for 11 months. The major migration issue will be the integration
with the Cocoa framework (based on Objective-C 2.0). At this point however, a working version
within the X11 environment would be a good starting point.

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