-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 From googling I guess this is Java 7 on OS X Snow Leopard again. It seemed this has been discussed and resolved on this list before. I recently got curious about trying some Java 7 features so I tried to do a openjdk build as detailed here... Building OpenJDK for Mac OS X 10.6 (Snow Leopard) | java rants http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os- x-10-6-snow-leopard/
With the 32 bit Soylatte. My first problem as I remember was compile errors due to something ambiguous related to pointer types and a movptr macro. Google seemed to indicate that this was an Apple difference in a type being 64 bit no longer being castable with 32 bit pointer types. More googling turned up a openjdk changeset that seemed to apply. http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/db4caa99ef11 This is my first attempt at mercurial so I wasn't quite sure what to do with this but eventually went for the same process of doing an 'hg fclone' on the changeset url as indicated in the original documentation. This seemed to get me past this error. However, I started running into another error. I saved a copy of part of that... Making adlc g++-4.0 -m32 -march=i586 -mstackrealign -m32 -march=i586 - mstackrealign -o ../generated/adfiles/adlc ../generated/adfiles/ adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/ arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../ generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../ generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../ generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../ generated/adfiles/output_c.o ../generated/adfiles/output_h.o awk '{ if (CUR_FN != FILENAME) { CUR_FN=FILENAME; NR_BASE=NR-1; need_lineno=1 } if (need_lineno && $0 !~ /\/\//) { print "\n\n#line " (NR-NR_BASE) " \"" FILENAME "\""; need_lineno=0 }; print }' /Users/ mjh/bsd-port/hotspot/src/cpu/x86/vm/x86_32.ad /Users/mjh/bsd-port/ hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.ad > ../generated/adfiles/ bsd_x86_32.ad cp /Users/mjh/bsd-port/hotspot/make/bsd/adlc_updater adlc_updater; chmod +x adlc_updater ../generated/adfiles/adlc -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -q -T - - -g -U_LP64 ../generated/adfiles/bsd_x86_32.ad \ -c../generated/adfiles/mktmp30451/ad_x86_32.cpp -h../generated/ adfiles/mktmp30451/ad_x86_32.hpp -a../generated/adfiles/mktmp30451/ dfa_x86_32.cpp -v../generated/adfiles/mktmp30451/adGlobals_x86_32.hpp \ || { rm -rf ../generated/adfiles/mktmp30451; exit 1; } Ideal node missing: LoadC assert fails /Users/mjh/bsd-port/hotspot/src/share/vm/adlc/ archDesc.cpp 497: Failed lookup of ideal node /bin/sh: line 1: 30585 Abort trap ../generated/adfiles/ adlc -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -q -T -g -U_LP64 ../ generated/adfiles/bsd_x86_32.ad -c../generated/adfiles/mktmp30451/ ad_x86_32.cpp -h../generated/adfiles/mktmp30451/ad_x86_32.hpp -a../ generated/adfiles/mktmp30451/dfa_x86_32.cpp -v../generated/adfiles/ mktmp30451/adGlobals_x86_32.hpp make[6]: *** [refresh_adfiles] Error 1 make[5]: *** [ad_stuff] Error 2 make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[2]: *** [product] Error 2 make[1]: *** [hotspot-build] Error 2 make: *** [build_product_image] Error 2 So far google hasn't turned up anything similar. So I really have no idea how to proceed on this one, suggestions appreciated. Mike Hall hallmike at att dot net http://www195.pair.com/mik3hall http://www195.pair.com/mik3hall/home.html http://sourceforge.net/projects/macnative -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iJwEAQECAAYFAkxE/lAACgkQUvk/ZSaThTJivQQAt5XLt83ozIpfeUC7SteWzrkr RZsi5eQmywu0PnBVZx+Ssc/+APWjRKyc1N0Ge8EemghCjUo8s7V66/m7oBsS/ll4 r6kYorT4Bvz3HHI+BxW/v2XrS2ICrpP/wx8hpvXdBTfbcviYEtuyJGDrVTiTWmVR c6ueLyrZSx+DjzudSwI= =acvb -----END PGP SIGNATURE-----