RFR: JDK-8251541 "no symbols" printed when building hotspot
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Aug 13 15:26:42 UTC 2020
Recently a lot of "no symbols" is shown when building hotspot, at least
on macOS.
This comes from the new/delete operator check which uses nm.
I have checked the source of these problems. Several files are now empty
due to refactoring and the use of (incidentally) file-wide #ifdefs. So
we just need to handle the fact that nm can write "no symbols" to stderr.
I also refactored the operator checking to use ExecuteWithLog, which
would have helped me track down this issue, had it been there from the
beginning. :)
I have verified that this solves the bug. I have also for testing
introduced a incorrect use of "new" and verified that this still trigger.
Bug: https://bugs.openjdk.java.net/browse/JDK-8251541
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8251541-stop-printing-no-symbol/webrev.01
/Magnus
More information about the build-dev
mailing list