[JDK 9] hs-rt forest fails to build? (original) (raw)
Severin Gehwolf sgehwolf at redhat.com
Wed Dec 9 12:33:42 UTC 2015
- Previous message (by thread): [JDK 9] hs-rt forest fails to build?
- Next message (by thread): [JDK 9] hs-rt forest fails to build?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Wed, 2015-12-09 at 12:15 +0100, Severin Gehwolf wrote:
Hi Mikael,
On Wed, 2015-12-09 at 11:41 +0100, Mikael Gerdin wrote: > Hi Severin, > > On 2015-12-09 11:23, Severin Gehwolf wrote: > > Hi, > > > > I'm trying to build an OpenJDK 9, hs-rt tree which fails to build for > > me with: > > > > jdk/src/java.logging/share/classes/sun/util/logging/internal/LoggingProviderImpl.java:33: error: cannot find symbol > > import java.lang.System.LoggerFinder; > > ^ > > symbol: class LoggerFinder > > location: class System > > http://hg.openjdk.java.net/jdk9/hs-rt/jdk/file/7a67f71d3645/src/java.base/share/classes/java/lang/System.java#l1377 > the LoggerFinder inner class appears to exist on the hg server at least. I have it in the local copy too, yet I get: CompileJavaModules.gmk:562: recipe for target 'hs-rt/build/linux-x8664-normal-server-release/jdk/modules/java.logging/the.java.loggingbatch' failed make/Main.gmk:150: recipe for target 'java.logging-java' failed With the above root-cause. I'll try with a fresh clone...
Same failure with fresh clone :( Here is how I configure and invoke
make:
bash configure
--with-boot-jdk="$JDK_TO_BUILD_WITH"
--with-debug-level="release"
--disable-zip-debug-info
--enable-unlimited-crypto
--with-stdc++lib=dynamic
--disable-warnings-as-errors
--with-num-cores=8
make
DEBUG_BINARIES=true
JAVAC_FLAGS=-g
STRIP_POLICY=no_strip
STRIP=""
DISABLE_INTREE_EC=true
ALT_OBJCOPY=none
LOG=debug
images
Thanks, Severin
> > > > $ hg paths > > default = http://hg.openjdk.java.net/jdk9/hs-rt/ > > > > Do I need to use a different tree these days? What am I missing? > > No, it should work. > Are you sure you've updated all the sub-trees? > > http://hg.openjdk.java.net/code-tools/trees/ > Is a helpful hg extension to keep track of things. > > I've noticed that sometimes "bash getsource.sh" does not correctly "hg > update" the entire forest.
I should have an updated tree, though I usually use: $ hg pull -u $ for i in hotspot corba jaxp jaxws jdk langtools nashorn; do pushd $i; hg pull -u; popd; done I've checked just now and all repos seem to have updated correctly. The CI builder for Zero seems to agree[1]. Note: The above build failure is for a regular server JVM. Not sure what's wrong. I keep looking, thanks! Cheers, Severin [1] http://builder.classpath.org/jenkins/job/OpenJDK9hsrtZero/191/console > /Mikael > > > > > Thanks, > > Severin > > >
- Previous message (by thread): [JDK 9] hs-rt forest fails to build?
- Next message (by thread): [JDK 9] hs-rt forest fails to build?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]