Sundar:
I filed:
JDK-8228619 "[macos 10.14.x] (Mojave) build issue: /usr/local/bin/nm
reports no symbols"
https://bugs.openjdk.java.net/browse/JDK-8228619
At Oracle, JDK 14 is built on macOS 10.13 (High Sierra).
This will need investigation in the future, when the build platform
moves to 10.14
Tim
On 07/24/19 00:11, Sundararajan Athijegannathan wrote:
Hi,
After recent OS and Xcode upgrade (Mojave 10.14.6 and Xcode 10.3), I'm
seeing JDK build failures on my machine. Bboth "jdk-dev" and
"panama-dev" foreign branch. It is a fresh configure & clean build. "nm"
is selected from /usr/local/bin/nm and that is from bintools 2.32
(homebrew installed).
I thought it may be the latest Xcode. And so I downloaded Xcode 9.2 and
installed it in a different location (/Applications/Xcode_9.2.app/). I
then used configure
--with-toolchain-path=/Applications/Xcode_9.2.app/Contents/Developer/usr/bin.
But I got the same failure|
|
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/bytecodeHistogram.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_CFGPrinter.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_Defs.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_InstructionPrinter.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_ValueSet.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/cppInterpreter.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/cppInterpreterGenerator.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/decoder_elf.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/depChecker_x86.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/dtraceAttacher.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfFile.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfFuncDescTable.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfStringTable.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfSymbolTable.o:
no symbols
/usr/local/bin/nm:
$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/instanceOop.o:
no symbols
make[3]: ***
[$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/symbols-objects]
Error 1
make[3]: *** Deleting file
`$panama-dev/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/symbols-objects'
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [hotspot-server-libs] Error 2
ERROR: Build failed for target 'images' in configuration
'macosx-x86_64-server-release' (exit code 2)
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
make[1]: *** [main] Error 2
make: *** [images] Error 2
Thanks,
-Sundar