Building OpenJDK Java 1.7.0 on Mac OS X 10.6

Maxim Porges maxim.porges at highwinds.com
Wed Nov 4 22:34:46 UTC 2009


I've diff'd a few of the files from that patch, and it looks like the  
code I have included the patch from jdk7-b47. I exported my local copy  
on September 23, 2009 from http://hg.openjdk.java.net/bsd-port/bsd- 
port, so my guess would be that it was around jdk7-b73 based on the  
tag dates.

	So, it looks like I have the current source, but it doesn't build on  
OS X 10.6.1. Does anybody know of a way to get the build working on OS  
X?

Thanks,

- max



On Sep 26, 2009, at 12:53 AM, Maxim Porges wrote:

> Hmm, perhaps not. Thanks for the tip -I'll give it another shot with
> this build.
>
> - max
>
>
> On Sep 25, 2009, at 1:20 PM, "John Coomes" <John.Coomes at sun.com>  
> wrote:
>
>> Maxim Porges (maxim.porges at highwinds.com) wrote:
>>> Hi,
>>>
>>>   I've been following Stephen Bannasch's very thorough and detailed
>>> article (http://confluence.concord.org/display/CCTR/Build+OpenJDK+Java+1.7.0+on+Mac+OS+X+10.5
>>> ) for installing OpenJDK 1.7.0 on OS X (thanks very much to Stephen
>>> for putting that together). I'm actually trying to install OpenJDK
>>> 1.7.0 on Snow Leopard 10.6, and it is almost working. Unfortunately,
>>> it stops building about halfway through with the following error
>>> message.
>>>
>>> Compiling /Users/mporges/bsd-port/hotspot/src/share/vm/runtime/
>>> arguments.cpp
>>> ...
>>> cc1plus: warnings being treated as errors
>>> /Users/mporges/bsd-port/hotspot/src/share/vm/runtime/arguments.cpp:
>>> In
>>> static member function 'static void
>>> Arguments::set_aggressive_opts_flags()':
>>> /Users/mporges/bsd-port/hotspot/src/share/vm/runtime/arguments.cpp:
>>> 1398: warning: format '%d' expects type 'int', but argument 3 has
>>> type
>>> 'intx'
>>> ...
>>
>> Do you have current source?  I believe this was fixed in jdk7-b47 by:
>>
>> changeset:   511:2328d1d3f8cf
>> user:        xlu
>> date:        Wed Dec 24 19:13:53 2008 -0800
>> summary:     6781583: Hotspot build fails on linux 64 bit platform
>> with gcc 4.3.2
>>
>> http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/2328d1d3f8cf
>>
>> -John
>>
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20091104/6c453fc5/attachment.html>


More information about the build-dev mailing list