RFR/RFC: Non-PCH x86_32 build failure: err_msg is not defined (original) (raw)

Stefan Karlsson stefan.karlsson at oracle.com
Tue Apr 3 08:22:03 UTC 2018


On 2018-04-03 10:20, Aleksey Shipilev wrote:

Thanks!

I would like to push the patch in this form, even though there seems to be a build system bug [1] that builds x8664 in x8632 config. It also makes sense to me, because sharedRuntimex8664.cpp uses errmsg defined in that header, and regular build seems to pass because we get that definition transitively (which is fragile). Any other opinions?

Go ahead and push this fix.

Thanks, StefanK

-Aleksey [1] https://bugs.openjdk.java.net/browse/JDK-8200441 On 03/29/2018 08:02 PM, Thomas Stüfe wrote: The fix is of course ok, regardless of the x64 confusion.

..Thomas On Thu, Mar 29, 2018 at 6:21 PM, Aleksey Shipilev <shade at redhat.com <mailto:shade at redhat.com>> wrote: Bug:  https://bugs.openjdk.java.net/browse/JDK-8200438 <https://bugs.openjdk.java.net/browse/JDK-8200438> Obvious fix: diff -r 5a757c0326c7 src/hotspot/cpu/x86/sharedRuntimex8664.cpp --- a/src/hotspot/cpu/x86/sharedRuntimex8664.cpp      Thu Mar 29 17:15:26 2018 +0200 +++ b/src/hotspot/cpu/x86/sharedRuntimex8664.cpp      Thu Mar 29 18:17:58 2018 +0200 @@ -41,6 +41,7 @@  #include "runtime/sharedRuntime.hpp"  #include "runtime/vframeArray.hpp"  #include "utilities/align.hpp" +#include "utilities/formatBuffer.hpp"  #include "vmversionx86.hpp"  #include "vmregx86.inline.hpp"  #ifdef COMPILER1

The non-obvious part (and thus, "RFC") is why x8664 build works fine in the same config. I don't have the answer for that. Testing: x8632 build Thanks, -Aleksey



More information about the hotspot-dev mailing list