Skip to content

Commit 3298645

Browse files
committed
Revert "Fix compile issues with xlc on AIX"
This mostly reverts commit 61b1e26. Conflicts: make/autoconf/flags-cflags.m4 make/autoconf/flags-ldflags.m4 make/autoconf/spec.gmk.template make/common/native/Link.gmk make/modules/java.base/Lib.gmk make/modules/java.base/lib/CoreLibraries.gmk make/modules/java.desktop/lib/Awt2dLibraries.gmk Signed-off-by: Peter Shipton <[email protected]>
1 parent f6c729c commit 3298645

File tree

14 files changed

+58
-273
lines changed

14 files changed

+58
-273
lines changed

doc/building.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ <h1 class="title">Building the JDK</h1>
6868
<li><a href="#apple-xcode" id="toc-apple-xcode">Apple Xcode</a></li>
6969
<li><a href="#microsoft-visual-studio"
7070
id="toc-microsoft-visual-studio">Microsoft Visual Studio</a></li>
71-
<li><a href="#ibm-xl-cc" id="toc-ibm-xl-cc">IBM XL C/C++</a></li>
71+
<li><a href="#ibm-open-xl-cc" id="toc-ibm-open-xl-cc">IBM Open XL
72+
C/C++</a></li>
7273
</ul></li>
7374
<li><a href="#boot-jdk-requirements" id="toc-boot-jdk-requirements">Boot
7475
JDK Requirements</a>
@@ -697,11 +698,10 @@ <h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
697698
version number accordingly. If you have not installed the
698699
<code>BuildTools</code>, but e.g. <code>Professional</code>, adjust the
699700
product ID accordingly.</p>
700-
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
701-
<p>Please consult the AIX section of the <a
702-
href="https://wiki.openjdk.org/display/Build/Supported+Build+Platforms">Supported
703-
Build Platforms</a> OpenJDK Build Wiki page for details about which
704-
versions of XLC are supported.</p>
701+
<h3 id="ibm-open-xl-cc">IBM Open XL C/C++</h3>
702+
<p>The minimum accepted version of Open XL is 17.1.1.4. This is in
703+
essence clang 15, and will be treated as such by the OpenJDK build
704+
system.</p>
705705
<h2 id="boot-jdk-requirements">Boot JDK Requirements</h2>
706706
<p>Paradoxically, building the JDK requires a pre-existing JDK. This is
707707
called the "boot JDK". The boot JDK does not, however, have to be a JDK

doc/building.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,11 +503,10 @@ that the " characters are essential)
503503
accordingly. If you have not installed the `BuildTools`, but e.g.
504504
`Professional`, adjust the product ID accordingly.
505505

506-
### IBM XL C/C++
506+
### IBM Open XL C/C++
507507

508-
Please consult the AIX section of the [Supported Build Platforms](
509-
https://wiki.openjdk.org/display/Build/Supported+Build+Platforms) OpenJDK Build
510-
Wiki page for details about which versions of XLC are supported.
508+
The minimum accepted version of Open XL is 17.1.1.4. This is in essence clang
509+
15, and will be treated as such by the OpenJDK build system.
511510

512511
## Boot JDK Requirements
513512

make/autoconf/build-performance.m4

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,6 @@ AC_DEFUN_ONCE([BPERF_SETUP_PRECOMPILED_HEADERS],
355355
if test "x$ICECC" != "x"; then
356356
AC_MSG_RESULT([no, does not work effectively with icecc])
357357
PRECOMPILED_HEADERS_AVAILABLE=false
358-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
359-
AC_MSG_RESULT([no, does not work with xlc])
360-
PRECOMPILED_HEADERS_AVAILABLE=false
361358
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
362359
# Check that the compiler actually supports precomp headers.
363360
echo "int alfa();" > conftest.h

make/autoconf/flags-cflags.m4

Lines changed: 7 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
# questions.
2424
#
2525

26-
# ===========================================================================
27-
# (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
28-
# ===========================================================================
29-
3026
################################################################################
3127
#
3228
# Setup flags for C/C++ compiler
@@ -56,9 +52,6 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
5652
SHARED_LIBRARY_FLAGS='-shared'
5753
fi
5854
59-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
60-
SHARED_LIBRARY_FLAGS="-qmkshrobj -bM:SRE -bnoentry"
61-
6255
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
6356
SHARED_LIBRARY_FLAGS="-dll"
6457
fi
@@ -122,8 +115,6 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
122115
123116
CFLAGS_DEBUG_SYMBOLS="-g ${GDWARF_FLAGS}"
124117
ASFLAGS_DEBUG_SYMBOLS="-g"
125-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
126-
CFLAGS_DEBUG_SYMBOLS="-g1"
127118
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
128119
CFLAGS_DEBUG_SYMBOLS="-Z7"
129120
fi
@@ -189,11 +180,7 @@ AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
189180
AC_DEFUN([FLAGS_SETUP_WARNINGS],
190181
[
191182
# Set default value.
192-
if test "x$TOOLCHAIN_TYPE" != xxlc; then
193-
WARNINGS_AS_ERRORS_DEFAULT=true
194-
else
195-
WARNINGS_AS_ERRORS_DEFAULT=false
196-
fi
183+
WARNINGS_AS_ERRORS_DEFAULT=true
197184
198185
UTIL_ARG_ENABLE(NAME: warnings-as-errors, DEFAULT: $WARNINGS_AS_ERRORS_DEFAULT,
199186
RESULT: WARNINGS_AS_ERRORS,
@@ -248,15 +235,6 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
248235
# false positives.
249236
DISABLED_WARNINGS="unknown-warning-option unused-parameter"
250237
;;
251-
252-
xlc)
253-
DISABLE_WARNING_PREFIX="-Wno-"
254-
CFLAGS_WARNINGS_ARE_ERRORS="-qhalt=w"
255-
256-
# Possibly a better subset than "all" is "lan:trx:ret:zea:cmp:ret"
257-
WARNINGS_ENABLE_ALL="-qinfo=all -qformat=all"
258-
DISABLED_WARNINGS=""
259-
;;
260238
esac
261239
AC_SUBST(DISABLE_WARNING_PREFIX)
262240
AC_SUBST(BUILD_CC_DISABLE_WARNING_PREFIX)
@@ -330,15 +308,6 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
330308
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
331309
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
332310
fi
333-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
334-
C_O_FLAG_HIGHEST_JVM="-O3 -qhot=level=1 -qinline -qinlglue"
335-
C_O_FLAG_HIGHEST="-O3 -qhot=level=1 -qinline -qinlglue"
336-
C_O_FLAG_HI="-O3 -qinline -qinlglue"
337-
C_O_FLAG_NORM="-O2"
338-
C_O_FLAG_DEBUG="-qnoopt"
339-
# FIXME: Value below not verified.
340-
C_O_FLAG_DEBUG_JVM=""
341-
C_O_FLAG_NONE="-qnoopt"
342311
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
343312
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
344313
C_O_FLAG_HIGHEST="-O2"
@@ -482,13 +451,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
482451
else
483452
DEBUG_CFLAGS_JDK="-DDEBUG"
484453
485-
if test "x$TOOLCHAIN_TYPE" = xxlc; then
486-
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
487-
# Hotspot now overflows its 64K TOC (currently only for debug),
488-
# so for debug we build with '-qpic=large -bbigtoc'.
489-
DEBUG_CFLAGS_JVM="-qpic=large"
490-
fi
491-
492454
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang ; then
493455
INIT_PATTERN_FLAG="-ftrivial-auto-var-init=pattern"
494456
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$INIT_PATTERN_FLAG],
@@ -515,9 +477,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
515477
ALWAYS_DEFINES_JVM="-D_GNU_SOURCE -D_REENTRANT"
516478
elif test "x$TOOLCHAIN_TYPE" = xclang; then
517479
ALWAYS_DEFINES_JVM="-D_GNU_SOURCE"
518-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
519-
ALWAYS_DEFINES_JVM="-D_REENTRANT"
520-
ALWAYS_DEFINES_JDK="-D_GNU_SOURCE -D_REENTRANT -DSTDC"
521480
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
522481
# _WIN32_WINNT=0x0602 means access APIs for Windows 8 and above. See
523482
# https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
@@ -582,12 +541,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
582541
583542
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -fvisibility=hidden -fstack-protector"
584543
585-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
586-
# Suggested additions: -qsrcmsg to get improved error reporting
587-
# set -qtbtable=full for a better traceback table/better stacks in hs_err when xlc16 is used
588-
TOOLCHAIN_CFLAGS_JDK="-qtbtable=full -qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
589-
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
590-
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
591544
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
592545
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:inline -Zc:throwingNew -permissive- -MP"
593546
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:inline -Zc:throwingNew -permissive- -Zc:wchar_t-"
@@ -604,7 +557,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
604557
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK $CHARSET_CFLAGS"
605558
606559
# CFLAGS C language level for JDK sources (hotspot only uses C++)
607-
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
560+
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
608561
LANGSTD_CFLAGS="-std=c11"
609562
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
610563
LANGSTD_CFLAGS="-std:c11"
@@ -616,8 +569,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
616569
LANGSTD_CXXFLAGS="-std=c++17"
617570
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
618571
LANGSTD_CXXFLAGS="-std:c++17"
619-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
620-
LANGSTD_CXXFLAGS="-std=c++14"
621572
else
622573
AC_MSG_ERROR([Cannot enable C++17 for this toolchain])
623574
fi
@@ -638,8 +589,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
638589
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
639590
WARNING_CFLAGS="$WARNINGS_ENABLE_ALL"
640591
641-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
642-
WARNING_CFLAGS="" # currently left empty
643592
fi
644593
645594
# Set some additional per-OS defines.
@@ -664,31 +613,16 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
664613
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
665614
PICFLAG="-fPIC"
666615
PIEFLAG="-fPIE"
667-
elif test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
668-
JVM_PICFLAG="-fpic -mcmodel=large -Wl,-bbigtoc
669-
JDK_PICFLAG="-fpic
670-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
671-
# '-qpic' defaults to 'qpic=small'. This means that the compiler generates only
672-
# one instruction for accessing the TOC. If the TOC grows larger than 64K, the linker
673-
# will have to patch this single instruction with a call to some out-of-order code which
674-
# does the load from the TOC. This is of course slower, and we also would have
675-
# to use '-bbigtoc' for linking anyway so we could also change the PICFLAG to 'qpic=large'.
676-
# With 'qpic=large' the compiler will by default generate a two-instruction sequence which
677-
# can be patched directly by the linker and does not require a jump to out-of-order code.
678-
#
679-
# Since large TOC causes perf. overhead, only pay it where we must. Currently this is
680-
# for all libjvm variants (both gtest and normal) but no other binaries. So, build
681-
# libjvm with -qpic=large and link with -bbigtoc.
682-
JVM_PICFLAG="-qpic=large"
683-
JDK_PICFLAG="-qpic"
684616
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
685617
PICFLAG=""
686618
fi
687619
688-
if test "x$TOOLCHAIN_TYPE" != xxlc; then
620+
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
621+
JVM_PICFLAG="-fpic -mcmodel=large"
622+
else
689623
JVM_PICFLAG="$PICFLAG"
690-
JDK_PICFLAG="$PICFLAG"
691624
fi
625+
JDK_PICFLAG="$PICFLAG"
692626
693627
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
694628
# Linking is different on macOS
@@ -718,8 +652,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
718652
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -DARCH='\"$FLAGS_CPU_LEGACY\"' \
719653
-D$FLAGS_CPU_LEGACY"
720654
721-
if test "x$FLAGS_CPU_BITS" = x64 && test "x$FLAGS_OS" != xaix; then
722-
# xlc on AIX defines _LP64=1 by default and issues a warning if we redefine it.
655+
if test "x$FLAGS_CPU_BITS" = x64; then
723656
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -D_LP64=1"
724657
$1_DEFINES_CPU_JVM="${$1_DEFINES_CPU_JVM} -D_LP64=1"
725658
fi
@@ -809,11 +742,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
809742
$1_CFLAGS_CPU="-mcpu=pwr8"
810743
fi
811744
812-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
813-
if test "x$FLAGS_CPU" = xppc64; then
814-
$1_CFLAGS_CPU_JVM="-qarch=ppc64"
815-
fi
816-
817745
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
818746
if test "x$FLAGS_CPU" = xx86; then
819747
$1_CFLAGS_CPU_JVM="-arch:IA32"

make/autoconf/flags-ldflags.m4

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@
2222
# or visit www.oracle.com if you need additional information or have any
2323
# questions.
2424
#
25+
# ===========================================================================
26+
# (c) Copyright IBM Corp. 2019, 2025 All Rights Reserved
27+
# ===========================================================================
2528

2629
################################################################################
2730
#
2831

29-
# ===========================================================================
30-
# (c) Copyright IBM Corp. 2019, 2024 All Rights Reserved
31-
# ===========================================================================
32-
3332
AC_DEFUN([FLAGS_SETUP_LDFLAGS],
3433
[
3534
FLAGS_SETUP_LDFLAGS_HELPER
@@ -86,11 +85,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
8685
-Wl,-bernotok -Wl,-bcdtors:mbr::s -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
8786
BASIC_LDFLAGS_JVM_ONLY="$BASIC_LDFLAGS_JVM_ONLY -Wl,-lC_r -Wl,-bbigtoc"
8887
fi
89-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
90-
BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bnoexpall -bernotok -brwexec_must -btextpsize:64K \
91-
-bdatapsize:64K -bstackpsize:64K"
92-
# libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc
93-
BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"
9488
9589
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
9690
BASIC_LDFLAGS="-opt:ref"
@@ -120,14 +114,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
120114
fi
121115
fi
122116
123-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
124-
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
125-
# Hotspot now overflows its 64K TOC (currently only for debug),
126-
# so we build with '-qpic=large -bbigtoc'.
127-
if test "x$DEBUG_LEVEL" != xrelease; then
128-
DEBUGLEVEL_LDFLAGS_JVM_ONLY="$DEBUGLEVEL_LDFLAGS_JVM_ONLY -bbigtoc"
129-
fi
130-
131117
elif test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
132118
# We need '-fpic' or '-fpic -mcmodel=large -Wl,-bbigtoc' if the TOC overflows.
133119
# Hotspot now overflows its 64K TOC (currently only for debug),

make/autoconf/flags.m4

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,9 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
261261
# The sysroot flags are needed for configure to be able to run the compilers
262262
FLAGS_SETUP_SYSROOT_FLAGS
263263
264-
# For xlc, the word size flag is required for correct behavior.
265264
# For clang/gcc, the flag is only strictly required for reduced builds, but
266265
# set it always where possible (x86 and ppc).
267-
if test "x$TOOLCHAIN_TYPE" = xxlc; then
268-
MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
269-
elif test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
266+
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
270267
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86 &&
271268
test "x$OPENJDK_TARGET_CPU" != xx32 ||
272269
test "x$OPENJDK_TARGET_CPU_ARCH" = xppc; then
@@ -321,47 +318,6 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
321318

322319
AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
323320
[
324-
# COMPILER_TARGET_BITS_FLAG : option for selecting 32- or 64-bit output
325-
# COMPILER_COMMAND_FILE_FLAG : option for passing a command file to the compiler
326-
# COMPILER_BINDCMD_FILE_FLAG : option for specifying a file which saves the binder
327-
# commands produced by the link step (currently AIX only)
328-
if test "x$TOOLCHAIN_TYPE" = xxlc; then
329-
COMPILER_TARGET_BITS_FLAG="-q"
330-
COMPILER_COMMAND_FILE_FLAG="-f"
331-
COMPILER_BINDCMD_FILE_FLAG="-bloadmap:"
332-
else
333-
COMPILER_TARGET_BITS_FLAG="-m"
334-
COMPILER_COMMAND_FILE_FLAG="@"
335-
COMPILER_BINDCMD_FILE_FLAG=""
336-
337-
# Check if @file is supported by gcc
338-
if test "x$TOOLCHAIN_TYPE" = xgcc; then
339-
AC_MSG_CHECKING([if @file is supported by gcc])
340-
# Extra empty "" to prevent ECHO from interpreting '--version' as argument
341-
$ECHO "" "--version" > command.file
342-
# Redirect stderr and stdout to config.log (AS_MESSAGE_LOG_FD) via merge
343-
if $CXX @command.file 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD; then
344-
AC_MSG_RESULT(yes)
345-
COMPILER_COMMAND_FILE_FLAG="@"
346-
else
347-
AC_MSG_RESULT(no)
348-
COMPILER_COMMAND_FILE_FLAG=
349-
fi
350-
$RM command.file
351-
fi
352-
fi
353-
354-
AC_SUBST(COMPILER_TARGET_BITS_FLAG)
355-
AC_SUBST(COMPILER_COMMAND_FILE_FLAG)
356-
AC_SUBST(COMPILER_BINDCMD_FILE_FLAG)
357-
358-
# Check that the compiler supports -mX (or -qX on AIX) flags
359-
# Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does
360-
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}],
361-
IF_TRUE: [COMPILER_SUPPORTS_TARGET_BITS_FLAG=true],
362-
IF_FALSE: [COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
363-
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
364-
365321
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
366322
if test "x$OPENJDK_TARGET_CPU" != xaarch64; then
367323
AS_NON_ASM_EXTENSION_OPTION=-Ta
@@ -374,8 +330,6 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
374330
GENDEPS_FLAGS="-MMD -MF"
375331
elif test "x$TOOLCHAIN_TYPE" = xclang; then
376332
GENDEPS_FLAGS="-MMD -MF"
377-
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
378-
GENDEPS_FLAGS="-qmakedep=gcc -MF"
379333
fi
380334
AC_SUBST(GENDEPS_FLAGS)
381335
])

make/autoconf/spec.gmk.template

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -504,13 +504,6 @@ CXX_VERSION_NUMBER := @CXX_VERSION_NUMBER@
504504
# Legacy support
505505
HOTSPOT_TOOLCHAIN_TYPE := @HOTSPOT_TOOLCHAIN_TYPE@
506506

507-
# Option used to pass a command file to the compiler
508-
COMPILER_COMMAND_FILE_FLAG := @COMPILER_COMMAND_FILE_FLAG@
509-
510-
# Option for specifying a file which saves the binder commands
511-
# produced by the link step (for debugging, currently AIX only)
512-
COMPILER_BINDCMD_FILE_FLAG := @COMPILER_BINDCMD_FILE_FLAG@
513-
514507
AS_NON_ASM_EXTENSION_OPTION := @AS_NON_ASM_EXTENSION_OPTION@
515508

516509
# Flags used for overriding the default opt setting for a C/C++ source file.

0 commit comments

Comments
 (0)