FYI... In general, using a jdk7 as the boot jdk should work. In this case, you might send an email to the compiler-dev alias and ask if they have seen this failure before, might ring some bells for them.
-kto On Mar 9, 2011, at 6:06 AM, Henri Gomez wrote: > Hum, I should try it. > > I was using soylatte in the old age, until someone here (I don't > remember who), told me to use OpenJDK 1.7. > And it was working up to latest changes. > > Thanks Greg > > 2011/3/9 Greg Lewis <gle...@eyesbeyond.com>: >> On Wed, Mar 09, 2011 at 09:33:24AM +0100, Henri Gomez wrote: >>>> With this change I can build again on MacOS X. ?Pointy hat to me for >>>> somehow leaving out the define and endef lines. >>> >>> :-) >>> >>> >>> I still get the following error while building with OpenJDK 1.7 as >>> bootstrap : >>> >>> (cd ./langtools/make && \ >>> make >>> JDK_TOPDIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk >>> JDK_MAKE_SHARED_DIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk/make/common/shared >>> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 >>> TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 >>> JDK_BUILD_NUMBER=b00 >>> FULL_VERSION=1.7.0-internal-henri_2011_03_09_09_27-b00 >>> PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 >>> JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 >>> PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 >>> PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0 >>> ANT_HOME="/usr/share/ant" >>> ALT_OUTPUTDIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools >>> ALT_BOOTDIR=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home >>> all) >>> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home >>> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp' >>> /usr/share/ant/bin/ant -diagnostics > >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-diagnostics.log >>> ; \ >>> >>> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home >>> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp' >>> /usr/share/ant/bin/ant -version >> >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-diagnostics.log >>> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home >>> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp' >>> /usr/share/ant/bin/ant -Djdk.version=1.7.0 >>> -Dfull.version='1.7.0-internal-henri_2011_03_09_09_27-b00' >>> -Dmilestone=internal -Dbuild.number=b00 -Djavac.target=7 >>> -Djavac.source=7 >>> -Dboot.java.home=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home >>> -Dimport.jdk=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk >>> -Dbuild.dir=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build >>> -Ddist.dir=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/dist >>> build >>> Buildfile: >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/langtools/make/build.xml >>> >>> -def-pcompile: >>> [mkdir] Created dir: >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/toolclasses >>> [javac] Compiling 2 source files to >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/toolclasses >>> [javac] warning: [options] bootstrap class path not set in >>> conjunction with -source 1.6 >>> [javac] 1 warning >>> >>> ... >>> >>> >>> build-bootstrap-javac: >>> [mkdir] Created dir: >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc >>> [mkdir] Created dir: >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/classes >>> [pcompile] Generating 7 resource files to >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc >>> [copy] Copying 1 file to >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc >>> [pcompile] Generating 1 resource files to >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc >>> [javac] Compiling 297 source files to >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/classes >>> [javac] >>> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/langtools/src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java:326: >>> cannot find symbol >>> [javac] if (!Files.exists(path)) >>> [javac] >>> >>> Do you use OpenJDK 1.6 or 1.7 as bootstrap now ? >> >> I'm bootstrapping with the openjdk6 port from MacPorts. >> >> -- >> Greg Lewis Email : gle...@eyesbeyond.com >> Eyes Beyond Web : http://www.eyesbeyond.com >> Information Technology FreeBSD : gle...@freebsd.org >> >