8146855: Update hotspot sources to recognize Solaris Studio 12u4 compiler
Reviewed-by: dcubed, gthornbr
This commit is contained in:
parent
93fe673dad
commit
93ca986bae
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -48,9 +48,9 @@ CC_COMPILER_REV := \
|
||||
$(shell $(CC) -V 2>&1 | sed -n 's/^.*[ ,\t]C[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/p')
|
||||
|
||||
# Pick which compiler is validated
|
||||
# Validated compiler for JDK9 is SS12.3 (5.12)
|
||||
VALIDATED_COMPILER_REVS := 5.12
|
||||
VALIDATED_CC_COMPILER_REVS := 5.12
|
||||
# Validated compiler for JDK9 is SS12.4 (5.13)
|
||||
VALIDATED_COMPILER_REVS := 5.13
|
||||
VALIDATED_CC_COMPILER_REVS := 5.13
|
||||
|
||||
# Warning messages about not using the above validated versions
|
||||
ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := $(strip ${VALIDATED_COMPILER_REVS})
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -211,6 +211,8 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
|
||||
#define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
|
||||
#elif __SUNPRO_CC == 0x5120
|
||||
#define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
|
||||
#elif __SUNPRO_CC == 0x5130
|
||||
#define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"
|
||||
#else
|
||||
#define HOTSPOT_BUILD_COMPILER "unknown Workshop:" XSTR(__SUNPRO_CC)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user