Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge loongson JDK jdk8u432-b06-ls-0 #150

Open
wants to merge 190 commits into
base: dev_loongson
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
caebbd7
Initial commit by Loongson
loongson-jvm Oct 20, 2022
547f63a
Merge
theaoqi Oct 21, 2022
9e2004a
Update (2022.11.22)
loongson-jvm Nov 21, 2022
ca609c1
Update (2023.01.18) (#4)
loongson-jvm Jan 29, 2023
bdc8ddb
Update (2023.01.29)
loongson-jvm Jan 31, 2023
cbfee0d
Merge
theaoqi Feb 1, 2023
ffbaa6e
Update (2023.02.23)
loongson-jvm Feb 24, 2023
873d5bf
Update (2023.05.17)
loongson-jvm May 17, 2023
ef3596a
Merge
theaoqi May 17, 2023
5a851f7
Update (2023.05.17, 2nd)
loongson-jvm May 17, 2023
6d24310
Update (2023.07.03)
loongson-jvm Jul 3, 2023
bb62689
Update (2023.08.14)
loongson-jvm Aug 14, 2023
d572f97
Merge
theaoqi Aug 14, 2023
0464401
8320713: Bump update version of OpenJDK: 8u412
gnu-andrew Nov 27, 2023
3b9c787
8208655: use JTreg skipped status in hotspot tests
gnu-andrew Nov 28, 2023
b2655a7
8297955: LDAP CertStore should use LdapName and not String for DNs
gnu-andrew Nov 28, 2023
2f81fb4
8251551: Use .md filename extension for README
zzambers Nov 28, 2023
a226a47
8312126: NullPointerException in CertStore.getCRLs after 8297955
gnu-andrew Nov 28, 2023
8cf7c96
8021961: setAlwaysOnTop doesn't behave correctly in Linux/Solaris und…
kurashige23 Nov 29, 2023
b05e679
8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Fail…
kurashige23 Nov 29, 2023
b610be3
8308592: Framework for CA interoperability testing
gnu-andrew Dec 2, 2023
74a3ddd
8315757: [8u] Add cacerts JTREG tests to GHA tier1 test set
jerboaa Dec 5, 2023
27819d4
Update (2023.12.08)
loongson-jvm Dec 8, 2023
b163f9d
Merge
theaoqi Dec 8, 2023
3db93fc
8301310: The SendRawSysexMessage test may cause a JVM crash
mrserb Dec 8, 2023
fc8c400
8317373: Add Telia Root CA v2
jerboaa Dec 11, 2023
4d1c3a6
8317374: Add Let's Encrypt ISRG Root X2
jerboaa Dec 11, 2023
7098ac7
8318759: Add four DigiCert root certificates
jerboaa Dec 11, 2023
31162fb
8319187: Add three eMudhra emSign roots
jerboaa Dec 13, 2023
2131e40
8302017: Allocate BadPaddingException only if it will be thrown
Dec 15, 2023
a645ef4
8320597: RSA signature verification fails on signed data that does no…
Dec 16, 2023
d898d40
Merge
gnu-andrew Dec 18, 2023
552c686
Merge
gnu-andrew Jan 18, 2024
a106656
Update (2024.01.26)
loongson-jvm Jan 26, 2024
33c606e
Merge
theaoqi Jan 26, 2024
88a9d9b
Update (2024.01.26, 2nd)
loongson-jvm Jan 26, 2024
ead1d6f
Merge
theaoqi Jan 26, 2024
4a69ad2
8324184: Windows VS2010 build failed with "error C2275: 'int64_t'"
gnu-andrew Jan 31, 2024
474c8c1
8192931: Regression test java/awt/font/TextLayout/CombiningPerf.java …
mrserb Feb 6, 2024
15e2c0b
8322725: (tz) Update Timezone Data to 2023d
Feb 6, 2024
f4f45e3
8321060: [8u] hotspot needs to recognise VS2022
mrserb Feb 7, 2024
818c53e
8315042: NPE in PKCS7.parseOldSignedData
mrserb Feb 8, 2024
cfed45d
8155590: Dubious collection management in sun.net.www.http.KeepAliveC…
Feb 8, 2024
abb4975
8011180: Delete obsolete scripts
zzambers Feb 12, 2024
3dc011b
8323202: [8u] Remove get_source.sh and hgforest.sh
zzambers Feb 12, 2024
dce5300
8168518: rcache interop with krb5-1.15
Feb 15, 2024
9aabf22
8270517: Add Zero support for LoongArch
xiangzhai Feb 17, 2024
e926edc
8276139: TestJpsHostName.java not reliable, better to expand HostIden…
yaqsun Feb 19, 2024
9bd600c
8079441: Intermittent failures on Windows with "Unexpected exit from …
fthevenet Feb 20, 2024
ae516a3
8074860: Structured Exception Catcher missing around CreateJavaVM on …
fthevenet Feb 21, 2024
b7bda28
8325150: (tz) Update Timezone Data to 2024a
Feb 21, 2024
a37b856
8016451: Scary messages emitted by build.tools.generatenimbus.Painter…
fthevenet Feb 22, 2024
53e0826
8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker…
Feb 22, 2024
5e70a86
8324530: Build error with gcc 10
tstuefe Feb 22, 2024
824dbfb
8186199: [windows] JNI_DestroyJavaVM not covered by SEH
fthevenet Feb 22, 2024
a798523
8025439: [TEST BUG] [macosx] PrintServiceLookup.lookupPrintServices d…
mrserb Feb 26, 2024
f05ea98
8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were…
mrserb Feb 26, 2024
0f20f67
8326686: Bump update version of OpenJDK: 8u422
gnu-andrew Feb 26, 2024
0bf84a2
8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails
yaqsun Feb 26, 2024
d7ad5bf
8159690: [TESTBUG] Mark headful tests with @key headful.
yaqsun Feb 26, 2024
1fad52d
8304074: [JMX] Add an approximation of total bytes allocated on the J…
Feb 26, 2024
f63643b
8268916: Tests for AffirmTrust roots
jerboaa Feb 28, 2024
78c0afa
8322750: Test "api/java_awt/interactive/SystemTrayTests.html" failed …
mrserb Mar 7, 2024
fbb3392
8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumb…
Mar 13, 2024
147b418
8327440: Fix "bad source file" error during beaninfo generation
fitzsim Mar 19, 2024
6ba9f58
8278067: Make HttpURLConnection default keep alive timeout configurable
Mar 19, 2024
04ccdbf
8321408: Add Certainly roots R1 and E1
gnu-andrew Mar 22, 2024
d23bbdd
8256152: tests fail because of ambiguous method resolution
zzambers Mar 25, 2024
039fb8a
8291637: HttpClient default keep alive timeout not followed if server…
Mar 26, 2024
5256587
Merge
gnu-andrew Mar 27, 2024
e72ea2d
8317507: C2 compilation fails with "Exceeded _node_regs array"
martinuy Mar 27, 2024
5968b15
8328809: [8u] Problem list some CA tests
jerboaa Mar 27, 2024
66fa62a
8325927: [8u] Backport of JDK-8170552 missed part of the test
mrserb Mar 31, 2024
af033c6
8313081: MonitoringSupport_lock should be unconditionally initialized…
Apr 5, 2024
a4b40e8
8291226: Create Test Cases to cover scenarios for JDK-8278067
Apr 5, 2024
1db6a76
8203691: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails
mrserb Apr 5, 2024
54419d4
8318340: Improve RSA key implementations
Feb 5, 2024
ce255d6
8319851: Improve exception logging
martinuy Feb 21, 2024
2ffb900
8322114: Improve Pack 200 handling
martinuy Mar 7, 2024
97be547
8322122: Enhance generation of addresses
martinuy Feb 9, 2024
43cb875
8317507: C2 compilation fails with "Exceeded _node_regs array"
martinuy Mar 27, 2024
d0d9a15
8291638: Keep-Alive timeout of 0 should close connection immediately
Apr 8, 2024
c1c8064
8320005: Allow loading of shared objects with .a extension on AIX
Apr 8, 2024
cde8aca
8069389: CompilerOracle prefix wildcarding is broken for long strings
Apr 10, 2024
c6ba33e
8329544: [8u] sun/security/krb5/auto/ReplayCacheTestProc.java cannot …
Apr 15, 2024
0f59d5c
8324185: [8u] Accept Xcode 12+ builds on macOS
mrserb Apr 16, 2024
0e0b018
Merge
gnu-andrew Apr 17, 2024
68ab0f3
8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh …
Apr 17, 2024
6a09637
8159454: [TEST_BUG] javax/swing/ToolTipManager/7123767/bug7123767.jav…
Apr 17, 2024
6b53212
8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java an…
gnu-andrew Apr 18, 2024
ea8d738
Update (2024.04.26)
loongson-jvm Apr 26, 2024
f04e976
Merge
theaoqi Apr 26, 2024
0cae201
Merge
theaoqi Apr 26, 2024
11af84f
Update (2024.04.26, 2nd)
loongson-jvm Apr 26, 2024
89def4d
8331980: [8u] Problem list CAInterop.java#certignarootca test
mrserb May 13, 2024
853a87a
8293562: KeepAliveCache Blocks Threads while Closing Connections
May 14, 2024
216b8cb
8331791: [8u] AIX build break from JDK-8320005 backport
May 15, 2024
b3308b1
8328825: Google CAInterop test failures
zzambers May 21, 2024
ab408de
8235834: IBM-943 charset encoder needs updating
psawant19 May 22, 2024
7bcaeb5
8239965: XMLEncoder/Test4625418.java fails due to "Error: Cp943 - can…
psawant19 May 22, 2024
012f59c
8316138: Add GlobalSign 2 TLS root certificates
zzambers May 22, 2024
db860f0
8326529: JFR: Test for CompilerCompile events fails due to time out
roberttoyonaga May 29, 2024
663ecc7
8333126: Bump update version of OpenJDK: 8u432
gnu-andrew May 31, 2024
9a7aa79
8333669: [8u] GHA: Dead VS2010 download link
zzambers Jun 6, 2024
9da7380
8331730: [8u] GHA: update sysroot for cross builds to Debian bullseye
zzambers Jun 6, 2024
8892b81
8326521: JFR: CompilerPhase event test fails on windows 32 bit
roberttoyonaga Jun 6, 2024
61dde50
8333724: Problem list security/infra/java/security/cert/CertPathValid…
Jun 7, 2024
0357abb
8324632: Update Zlib Data Compression Library to Version 1.3.1
fitzsim Jun 12, 2024
bfb1a7d
4660158: TTY: NumberFormatException while trying to set values by 'se…
Jun 13, 2024
6838605
8311666: Disabled tests in test/jdk/sun/java2d/marlin
mrserb Jun 17, 2024
6abb3f2
8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fai…
Jun 17, 2024
1050982
8315020: The macro definition for LoongArch64 zero build is not accur…
xiangzhai Jun 21, 2024
b1e2ea8
8279164: Disable TLS_ECDH_* cipher suites
zzambers Jun 24, 2024
b499ea7
8030204: com/sun/jdi/JdbExprTest.sh: Required output "Can\\'t convert…
Jun 25, 2024
a0715ab
8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
Jun 27, 2024
44eac48
8137329: [windows] Build broken on VS2010 after "8046148: JEP 158: U…
Jun 27, 2024
385e34d
8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
franferrax Jun 28, 2024
54f7734
8303466: C2: failed: malformed control flow. Limit type made precise …
martinuy Jul 1, 2024
16ea85b
8335552: [8u] JDK-8303466 backport to 8u requires 3 ::Identity signat…
franferrax Jul 3, 2024
11bbc79
8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
franferrax Jun 28, 2024
4a3945b
8303466: C2: failed: malformed control flow. Limit type made precise …
martinuy Jul 1, 2024
a717515
8335552: [8u] JDK-8303466 backport to 8u requires 3 ::Identity signat…
franferrax Jul 3, 2024
48e19d8
8314794: Improve UTF8 String supports
Jun 12, 2024
c8eb027
8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
franferrax Jul 5, 2024
3dd1095
8319859: Better symbol storage
Jun 3, 2024
45b83c2
8320548: Improved loop handling
franferrax Jun 28, 2024
42c9f65
8320097: Improve Image transformations
May 15, 2024
e81aa94
8322106: Enhance Pack 200 loading
alexeybakhtin Jun 5, 2024
172214b
8323390: Enhance mask blit functionality
Jun 11, 2024
bffe284
8323231: Improve array management
martinuy Jan 24, 2024
dfbb2cf
8324559: Improve 2D image handling
Mar 15, 2024
18b3ca5
8325600: Better symbol storage
Jun 19, 2024
ddce2b5
8299677: Formatter.format might take a long time to format an integer…
chadrako Jul 8, 2024
fc15e99
8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Exp…
roberttoyonaga Jul 9, 2024
21e4278
8320964: sun/tools/native2ascii/Native2AsciiTests.sh fails on Japanese
Jul 18, 2024
f231e27
8330415: Update system property for Java SE specification maintenance…
Jul 18, 2024
765bd89
8318039: GHA: Bump macOS and Xcode versions
zzambers Jul 22, 2024
c8d52b0
8307779: Relax the java.awt.Robot specification
Jul 23, 2024
91be217
Update (2024.07.26)
loongson-jvm Jul 26, 2024
30363d7
Merge
theaoqi Jul 26, 2024
adb4c27
Merge
theaoqi Jul 26, 2024
63ca856
Merge
theaoqi Jul 26, 2024
0e7148d
Merge
gnu-andrew Jul 27, 2024
047b08a
8324723: GHA: Upgrade some actions to avoid deprecated Node 16
gdams Aug 13, 2024
d4adbe3
8152207: Perform array bound checks while getting a length of bytecod…
martinuy Aug 13, 2024
09bab6e
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest faile…
Aug 13, 2024
b4fc8e7
8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097
gnu-andrew Aug 14, 2024
4106121
8281096: Flags introduced by configure script are not passed to ADLC …
gnu-andrew Aug 14, 2024
4538bba
8335851: [8u] Test JMXStartStopTest.java fails after JDK-8334415
Aug 16, 2024
fb0a658
8335894: [8u] Fix SupplementalJapaneseEraTest.java for jdks with syml…
Aug 16, 2024
ea76f37
8338144: [8u] Remove duplicate license files
gnu-andrew Aug 17, 2024
1ca84ad
8305400: ISO 4217 Amendment 175 Update
Karm Aug 19, 2024
edbdf05
8336928: GHA: Bundle artifacts removal broken
zzambers Aug 19, 2024
439e910
8321480: ISO 4217 Amendment 176 Update
Karm Aug 20, 2024
2afd918
8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java…
mrserb Aug 21, 2024
8b28c35
8264328: Broken license in javax/swing/JComboBox/8072767/bug8072767.java
mrserb Aug 21, 2024
4c9c5a4
8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
mrserb Aug 21, 2024
855480b
8334905: [8u] The test java/awt/Mixing/AWT_Mixing/JButtonOverlapping.…
mrserb Aug 21, 2024
4fe22e8
6544871: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html fails from j…
mrserb Aug 21, 2024
933c78e
8309138: Fix container tests for jdks with symlinked conf dir
Aug 21, 2024
5c7f201
8021775: compiler/8009761/Test8009761.java "Failed: init recursive c…
Aug 21, 2024
8867d01
8193682: Infinite loop in ZipOutputStream.close()
Aug 21, 2024
fc33f51
8266248: Compilation failure in PLATFORM_API_MacOSX_MidiUtils.c with …
mrserb Aug 21, 2024
aa44346
7188098: TEST_BUG: closed/javax/sound/midi/Synthesizer/Receiver/bug61…
mrserb Aug 21, 2024
9a426ad
8318951: Additional negative value check in JPEG decoding
mrserb Aug 21, 2024
89697c3
8334653: ISO 4217 Amendment 177 Update
Karm Aug 23, 2024
4942516
8278794: Infinite loop in DeflaterOutputStream.finish()
Aug 26, 2024
7d36fed
8337110: [8u] TestNoEagerReclaimOfHumongousRegions.java should be in …
zzambers Aug 26, 2024
7c13bd8
8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing …
mrserb Aug 28, 2024
8b0fedc
8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times ou…
mrserb Aug 30, 2024
e32d62e
8298887: On the latest macOS+XCode the Robot API may report wrong colors
mrserb Aug 30, 2024
39221f8
8337664: Distrust TLS server certificates issued after Oct 2024 and a…
franferrax Sep 20, 2024
640b162
8196770: Add JNDI test com/sun/jndi/ldap/blits/AddTests/AddNewEntry.java
mrserb Sep 29, 2024
9e795b5
8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
martinuy Sep 17, 2024
672104d
8251188: Update LDAP tests not to use wildcard addresses
mrserb Oct 3, 2024
260fe06
8313626: C2 crash due to unexpected exception control flow
mrserb Sep 26, 2024
81c99d8
8328286: Enhance HTTP client
alexeybakhtin Aug 23, 2024
0405894
8328544: Improve handling of vectorization
martinuy Aug 14, 2024
1650221
8328726: Better Kerberos support
alexeybakhtin May 10, 2024
3b077b8
8331446: Improve deserialization support
Aug 13, 2024
da6b265
8290367: Update default value and extend the scope of com.sun.jndi.ld…
mrserb Sep 16, 2022
c5508ab
8332644: Improve graph optimizations
franferrax Sep 17, 2024
e976b99
8335713: Enhance vectorization analysis
martinuy Sep 14, 2024
1c1afe3
8341057: Add 2 SSL.com TLS roots
gnu-andrew Oct 4, 2024
618917e
8341059: Change Entrust TLS distrust date to November 12, 2024
gnu-andrew Oct 3, 2024
b6d3132
Update (2024.10.16)
loongson-jvm Oct 16, 2024
2e66c8f
Merge
theaoqi Oct 16, 2024
d6a27b9
Merge
theaoqi Oct 16, 2024
5fb709b
Merge
theaoqi Oct 17, 2024
863bba8
merge loongson JDK jdk8u432-b06-ls-0
Panxuefeng-loongson Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
246 changes: 123 additions & 123 deletions .github/workflows/submit.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .jcheck/conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[general]
project=jdk8u
jbs=JDK
version=openjdk8u402
version=openjdk8u432

[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace
Expand Down
10 changes: 0 additions & 10 deletions README

This file was deleted.

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Welcome to the JDK!

For build instructions please see the
[online documentation](https://openjdk.java.net/groups/build/doc/building.html),
or either of these files:

- [doc/building.html](doc/building.html) (html version)
- [doc/building.md](doc/building.md) (markdown version)

See <https://openjdk.java.net/> for more information about
the OpenJDK Community and the JDK.
6 changes: 3 additions & 3 deletions THIRD_PARTY_README
Original file line number Diff line number Diff line change
Expand Up @@ -3043,14 +3043,14 @@ performance, or use of this material.

-------------------------------------------------------------------------------

%% This notice is provided with respect to zlib v1.2.13, which may be included
%% This notice is provided with respect to zlib v1.3.1, which may be included
with JRE 8, JDK 8, and OpenJDK 8.

--- begin of LICENSE ---

version 1.2.13, October 13th, 2022
version 1.3.1, January 22, 2024

Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
9 changes: 9 additions & 0 deletions common/autoconf/build-aux/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,13 @@ if [ "x$OUT" = x ]; then
fi
fi

# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi

echo $OUT
44 changes: 29 additions & 15 deletions common/autoconf/flags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
SYSROOT_LDFLAGS="-isysroot \"$SYSROOT\""
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
LEGACY_HOST_CFLAGS="$LEGACY_EXTRA_CFLAGS"
LEGACY_HOST_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS"
LEGACY_HOST_LDFLAGS="$LEGACY_EXTRA_LDFLAGS"
LEGACY_TARGET_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_TARGET_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_TARGET_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
Expand Down Expand Up @@ -431,11 +434,14 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CFLAGS_JDK="${CFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -q64 -qfullpath -qsaveopt"
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS -fstack-protector"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS -fstack-protector"
LEGACY_HOST_CFLAGS="$LEGACY_HOST_CFLAGS -fstack-protector"
LEGACY_TARGET_CFLAGS="$LEGACY_TARGET_CFLAGS -fstack-protector"
LEGACY_HOST_CXXFLAGS="$LEGACY_HOST_CXXFLAGS -fstack-protector"
LEGACY_TARGET_CXXFLAGS="$LEGACY_TARGET_CXXFLAGS -fstack-protector"
if test "x$OPENJDK_TARGET_OS" != xmacosx; then
LDFLAGS_JDK="$LDFLAGS_JDK -Wl,-z,relro"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS -Wl,-z,relro"
LEGACY_HOST_LDFLAGS="$LEGACY_HOST_LDFLAGS -Wl,-z,relro"
LEGACY_TARGET_LDFLAGS="$LEGACY_TARGET_LDFLAGS -Wl,-z,relro"
fi
$2CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]$2CXXSTD_CXXFLAG -Werror],
Expand Down Expand Up @@ -479,15 +485,23 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
LDFLAGS_JDK="${LDFLAGS_JDK} $with_extra_ldflags"

# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $with_extra_cflags"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $with_extra_cxxflags"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $with_extra_ldflags"
LEGACY_EXTRA_ASFLAGS="$with_extra_asflags"

AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
AC_SUBST(LEGACY_EXTRA_ASFLAGS)
LEGACY_HOST_CFLAGS="$LEGACY_HOST_CFLAGS $with_extra_cflags"
LEGACY_TARGET_CFLAGS="$LEGACY_TARGET_CFLAGS $with_extra_cflags"
LEGACY_HOST_CXXFLAGS="$LEGACY_HOST_CXXFLAGS $with_extra_cxxflags"
LEGACY_TARGET_CXXFLAGS="$LEGACY_TARGET_CXXFLAGS $with_extra_cxxflags"
LEGACY_HOST_LDFLAGS="$LEGACY_HOST_LDFLAGS $with_extra_ldflags"
LEGACY_TARGET_LDFLAGS="$LEGACY_TARGET_LDFLAGS $with_extra_ldflags"
LEGACY_HOST_ASFLAGS="$with_extra_asflags"
LEGACY_TARGET_ASFLAGS="$with_extra_asflags"

AC_SUBST(LEGACY_HOST_CFLAGS)
AC_SUBST(LEGACY_HOST_CXXFLAGS)
AC_SUBST(LEGACY_HOST_LDFLAGS)
AC_SUBST(LEGACY_HOST_ASFLAGS)
AC_SUBST(LEGACY_TARGET_CFLAGS)
AC_SUBST(LEGACY_TARGET_CXXFLAGS)
AC_SUBST(LEGACY_TARGET_LDFLAGS)
AC_SUBST(LEGACY_TARGET_ASFLAGS)

###############################################################################
#
Expand Down
Loading