Build shark against llvm 3.0 on mac os x

Henri Gomez henri.gomez at gmail.com
Mon Jan 30 00:28:17 PST 2012


Well, if we could make it works, it could be candidate to be included
in http://code.google.com/p/openjdk-osx-build/ builds and packages :)

2012/1/29 Edward Wang <edward.yu.wang at gmail.com>:
> Henri,
>
> I'm glad you are interested in the same topic. I made a gist for you,
> with necessary script and instruments in it:
>    https://gist.github.com/1696874
>
> Hope it helps.
>
> Regards,
> Edward
>
> On Sat, Jan 28, 2012 at 6:00 PM, Henri Gomez <henri.gomez at gmail.com> wrote:
>> 2011/12/5 Edward Wang <edward.yu.wang at gmail.com>:
>>> Hi,
>>>
>>> I tried to build shark against 3.0 on mac os x. I started with
>>> repository http://hg.openjdk.java.net/jdk7u/jdk7u-osx/, applied shark
>>> llvm 3.0 patch mentioned here: http://labb.zafena.se/?p=459 and did
>>> bunch of other adjustments. I made some progress before hit the wall.
>>> It began to complain something like "RicochetFrame is not a member of
>>> MethodHandles". Not like other cpus' methodHandles implementation,
>>> hotspot/src/cpu/zero/vm/methodHandles_zero.hpp is just a placeholder,
>>> which says:
>>>    #define TARGET_ARCH_NYI_6939861 1
>>>
>>> So, my question is does anyone try to build shark on os x before? Any
>>> suggestions?
>>>
>>> And in ZeroSharkFaq wiki, there's a line says "Zero is currently
>>> Linux- and GCC-specific". I begin to doubt whether my effort of
>>> building shark on os x will be any good to openjdk community :)
>>
>> You should continue, OSX users with PPC have no other choice :(
>> Did you automate/script build process so I could take a look ?


More information about the zero-dev mailing list