Building OpenJDK Java 1.7.0 on Mac OS X 10.6

Maxim Porges maxim.porges at highwinds.com
Sat Sep 26 04:53:56 UTC 2009


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



More information about the build-dev mailing list