On 2016-12-06 10:59, David Holmes wrote:
Thanks Erik. Looks good.
I suspected it might be that part but couldn't quite connect the dots.
And I have to express my concern that those changes were not
adequately tested!
For the record, the checkin that broke the cross compilation build was
for JDK-8038957 (DEBUG_BINARIES can be removed).
I agree that I was too slolppy on my testing, and apologize for that.
:-( I thought that this was a simple cleanup and that a local build was
necessary, not a full-scale all-platform JPRT run.
Thanks for fixing this Erik. The change looks good to me too.
/Magnus
David
-----
On 6/12/2016 6:52 PM, Erik Joelsson wrote:
When cleaning up legacy hotspot settings in JDK-8170651, a bit too much
was removed. Now we can't cross compile certain arm platforms.
Bug: https://bugs.openjdk.java.net/browse/JDK-8170784
Patch:
diff -r 9475c1488d29 common/autoconf/buildjdk-spec.gmk.in
--- a/common/autoconf/buildjdk-spec.gmk.in
+++ b/common/autoconf/buildjdk-spec.gmk.in
@@ -89,4 +89,10 @@
# Control wether Hotspot builds gtest tests
BUILD_GTEST := false
JVM_VARIANTS := server
+
+# Some users still set EXTRA_*FLAGS on the make command line. Must
+# make sure to override that when building buildjdk.
+override EXTRA_CFLAGS :=
+override EXTRA_CXXFLAGS :=
+override EXTRA_LDFLAGS :=
/Erik