<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Mario,<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks for the reply. I had seen that thread before but had missed the part about the change to globalDefinitions.hpp. I made those changes and tried the build again. It got further than it did before, but it still failed with the following errors:</div><div><br></div><div><div></div><blockquote type="cite"><div>rm -f /Users/mporges/bsd-port/build/bsd-i586/tmp/jre-elf-files.list</div><div>/usr/bin/find /Users/mporges/bsd-port/build/bsd-i586/j2re-image/lib -type f -name \*.dylib >> /Users/mporges/bsd-port/build/bsd-i586/tmp/jre-elf-files.list</div><div>find: /Users/mporges/bsd-port/build/bsd-i586/j2re-image/lib: No such file or directory</div><div>make[2]: *** [/Users/mporges/bsd-port/build/bsd-i586/tmp/jre-elf-files.list] Error 1</div><div>>>>Making process-image-jdk @ Thu Nov 5 11:30:31 EST 2009 ...</div><div>rm -f /Users/mporges/bsd-port/build/bsd-i586/tmp/jdk-elf-files.list</div><div>/usr/bin/find /Users/mporges/bsd-port/build/bsd-i586/j2sdk-image/jre/lib -type f -name \*.dylib >> /Users/mporges/bsd-port/build/bsd-i586/tmp/jdk-elf-files.list</div><div>find: /Users/mporges/bsd-port/build/bsd-i586/j2sdk-image/jre/lib: No such file or directory</div><div>make[2]: *** [/Users/mporges/bsd-port/build/bsd-i586/tmp/jdk-elf-files.list] Error 1</div><div>>>>Making sec-files @ Thu Nov 5 11:30:31 EST 2009 ...</div><div>/bin/mkdir -p .</div><div>rm -f sec-files</div><div>rm -f /Users/mporges/bsd-port/build/bsd-i586/tmp/sec-bin.zip</div><div>cd /Users/mporges/bsd-port/build/bsd-i586 && \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>/usr/bin/zip -rq9 /Users/mporges/bsd-port/build/bsd-i586/tmp/sec-bin.zip classes/javax/net classes/javax/security/cert classes/com/sun/net/ssl classes/com/sun/security/cert classes/sun/net/www/protocol/https classes/sun/security/pkcs12 classes/sun/security/ssl classes/sun/security/krb5/*.class classes/sun/security/krb5/internal/*.class classes/sun/security/krb5/internal/ccache classes/sun/security/krb5/internal/crypto classes/sun/security/krb5/internal/ktab classes/sun/security/krb5/internal/rcache classes/sun/security/krb5/internal/util classes/sun/security/jgss/spi/GSSContextSpi.class</div><div><br></div><div>zip error: Nothing to do! (try: zip -rq9 /Users/mporges/bsd-port/build/bsd-i586/tmp/sec-bin.zip . -i classes/javax/net classes/javax/security/cert classes/com/sun/net/ssl classes/com/sun/security/cert classes/sun/net/www/protocol/https classes/sun/security/pkcs12 classes/sun/security/ssl classes/sun/security/krb5/*.class classes/sun/security/krb5/internal/*.class classes/sun/security/krb5/internal/ccache classes/sun/security/krb5/internal/crypto classes/sun/security/krb5/internal/ktab classes/sun/security/krb5/internal/rcache classes/sun/security/krb5/internal/util classes/sun/security/jgss/spi/GSSContextSpi.class)</div><div>make[2]: *** [sec-files] Error 12</div><div>>>>Making sec-files-win @ Thu Nov 5 11:30:31 EST 2009 ...</div><div>>>>Making jgss-files @ Thu Nov 5 11:30:31 EST 2009 ...</div><div>make[2]: Target `images' not remade because of errors.</div><div>>>>Finished making images @ Thu Nov 5 11:30:31 EST 2009 ...</div><div>make[1]: *** [jdk-build] Error 2</div><div>make[1]: Target `generic_build_repo_series' not remade because of errors.</div><div>make: *** [build_product_image] Error 2</div><div>Control bsd i586 1.7.0-internal all_product_build build finished: </div><div>Control bsd i586 1.7.0-internal all build finished: </div><div>make: Target `default' not remade because of errors.</div></blockquote><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Also, during the build, I saw errors like the following, but they did not stop the build from continuing:</div><div><br></div><div><div></div><blockquote type="cite"><div>All done.</div><div>cd bsd_i486_compiler2/product && ./test_gamma</div><div>java full version "1.6.0_03-p3-landonf_19_aug_2008_14_55-b00"</div><div>#</div><div># A fatal error has been detected by the Java Runtime Environment:</div><div>#</div><div># SIGBUS (0xa) at pc=837535, pid=37323, tid=2693272832</div><div>#</div><div># JRE version: 6.0_03</div><div># Java VM: OpenJDK Server VM (16.0-b08 mixed mode bsd-x86 )</div><div># Problematic frame:</div><div># V [libjvm.dylib+0xc379f]</div><div>#</div><div># An error report file with more information is saved as:</div><div># /Users/mporges/bsd-port/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product/hs_err_pid37323.log</div><div>#</div><div># If you would like to submit a bug report, please visit:</div><div># <a href="http://java.sun.com/webapps/bugreport/crash.jsp">http://java.sun.com/webapps/bugreport/crash.jsp</a></div></blockquote><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>At the end of the thread, Michael Franz states that he was able to build with gcc-4.0 and g++-4.0; I'm running version 4.2.1 of both tools on my machine, so this is a definite difference from Michael's environment. I also saw that Michael mentioned:</div><div><br></div><div><blockquote type="cite">I am actually building using IcedTea 1.11, so it is the bootstrap JDK that cores when it tries to build OpenJDK. The bootstrap is built with Apples JDK 5 and ecj. This is the same process that I am using on Leopard and works fine. The main difference is Leopard using gcc 4.0 and Snow uses gcc 4.2. I tried with gcc 4.0 on snow but, there are compilation errors I have not worked through yet.</blockquote></div></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Unfortunately, this last comment goes beyond my knowledge of the JDK build process since I'm really just working from Stephen Bannasch's wiki article on building for 10.5; I could certainly get gcc/g++ 4.0 installed on my machine but I'm not sure how to configure IcedTea 1.11 in to the build if I would need to.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Does anybody know if there is any other work going on in the project to build OpenJDK 1.7.0 on the default Snow Leopard installation, or any step-through tutorials to that effect? I imagine in the absence of an Apple-released 1.7 JDK on the Mac that there must be some demand for a build of this nature. It would be great for a Snow Leopard build to be added to the page of prebuilt binaries. I'm obviously of limited use in this regard, but I'll be happy to help wherever I can to get this going.</div><div><br></div><div>Thanks,</div><div>
<span class="Apple-style-span" style="font-size: 12px; "><div><i><br class="Apple-interchange-newline">-</i> max</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Nov 5, 2009, at 8:58 AM, Mario Torre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Il 04/11/2009 23:34, Maxim Porges ha scritto:<br><blockquote type="cite">I've diff'd a few of the files from that patch, and it looks like the<br></blockquote><blockquote type="cite">code I have included the patch from jdk7-b47. I exported my local copy<br></blockquote><blockquote type="cite">on September 23, 2009 from <a href="http://hg.openjdk.java.net/bsd-port/bsd-port">http://hg.openjdk.java.net/bsd-port/bsd-port</a>,<br></blockquote><blockquote type="cite">so my guess would be that it was around jdk7-b73 based on the tag dates.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">So, it looks like I have the current source, but it doesn't build on OS<br></blockquote><blockquote type="cite">X 10.6.1. Does anybody know of a way to get the build working on OS X?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">- max<br></blockquote><br>Hi Max,<br><br>As I replied before to the wrong thread, I repost:<br><br>There is a thread on this error on the BSD Port mailing list, maybe of <br>some help for you:<br><br><a href="http://mail.openjdk.java.net/pipermail/bsd-port-dev/2009-September/000852.html">http://mail.openjdk.java.net/pipermail/bsd-port-dev/2009-September/000852.html</a><br><br>Cheers,<br>Mario<br>-- <br>Mario Torre, Software Developer, http://www.jroller.com/neugens/<br>aicas Allerton Interworks Computer Automated Systems GmbH<br>Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany<br>http://www.aicas.com * Tel: +49-721-663 968-44<br>pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF<br>Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF<br><br>USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim<br>Geschäftsführer: Dr. James J. Hunt<br><br>Please, support open standards:<br>http://endsoftpatents.org/<br><br><br></div></blockquote></div><br></div></body></html>