Commit Graph

122 Commits

Author SHA1 Message Date
Daniel Jeliński
23995f822e 8281525: Enable Zc:strictStrings flag in Visual Studio build
Reviewed-by: dholmes, ihse
2022-02-24 18:18:52 +00:00
Alan Hayward
6fab8a2d6a 8277204: Implement PAC-RET branch protection on Linux/AArch64
Reviewed-by: erikj, ihse, adinn, ngasson
2022-02-24 16:38:56 +00:00
Maxim Kartashev
d442328bc2 8281262: Windows builds in different directories are not fully reproducible
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: erikj, ihse
2022-02-10 10:46:35 +00:00
Magnus Ihse Bursie
a033aa5a3d 8273072: Avoid using += in configure
Reviewed-by: dholmes, jiefu
2021-08-27 13:53:33 +00:00
Maxim Kartashev
64ba2f0e8f 8265431: Add -fno-delete-null-pointer-checks to clang builds
Reviewed-by: erikj
2021-06-01 17:56:44 +00:00
Phil Race
3bb6a3d2ab 8261109: [macOS] Remove disabled warning for JNF in make/autoconf/flags-cflags.m4
Reviewed-by: serb, ihse, erikj
2021-02-04 21:00:18 +00:00
David Holmes
6f2be9c608 8246112: Remove build-time and run-time checks for clock_gettime and CLOCK_MONOTONIC
Reviewed-by: ihse, erikj, gziemski, hseigel
2021-01-27 01:18:52 +00:00
Andrew John Hughes
0785147460 8259949: x86 32-bit build fails when -fcf-protection is passed in the compiler flags
Use -march=i686 instead of -march=i586 if -fcf-protection is passed to the build as CMOV is required

Reviewed-by: erikj
2021-01-20 16:13:42 +00:00
Magnus Ihse Bursie
d29c78da19 8257679: Improved unix compatibility layer in Windows build (winenv)
Reviewed-by: erikj, jvernee, burban
2020-12-07 15:55:53 +00:00
Magnus Ihse Bursie
b0485b9632 8256240: Reproducible builds should turn on the "deterministic" flag for Visual Studio
Reviewed-by: erikj
2020-11-23 11:33:18 +00:00
Jorn Vernee
804bd72599 8255128: linux x86 build failure with libJNIPoint.c
Reviewed-by: coleenp, shade, ihse
2020-11-04 18:10:49 +00:00
Aleksei Voitylov
63009f90ec 8247589: Implementation of Alpine Linux/x64 Port
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Co-authored-by: Alexander Scherbatiy <alexsch@openjdk.org>
Co-authored-by: Axel Siebenborn <asiebenborn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: alanb, erikj, dholmes
2020-10-13 09:35:58 +00:00
Eric Liu
b464213942 8252407: Build failure with gcc-8+ and asan
Reviewed-by: ihse, kbarrett
2020-10-13 03:38:41 +00:00
Monica Beckwith
9604ee8269 8248238: Implementation: JEP 388: Windows AArch64 Support
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: dholmes, cjplummer, aph, ihse
2020-10-05 03:21:39 +00:00
Matthias Baesken
52c28b8692 8253239: Disable VS warning C4307
Reviewed-by: mdoerr, erikj
2020-09-18 14:06:29 +00:00
Kim Barrett
2a8f92e7e7 8246032: Implementation of JEP 347: Enable C++14 Language Features
Update build configuration to use C++14

Reviewed-by: jlaskey, mdoerr, ihse, erikj
2020-07-22 00:13:53 -04:00
Magnus Ihse Bursie
b073038e54 8246751: Mac OS build settings should use -O3
Reviewed-by: erikj
2020-06-08 18:15:55 +02:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Magnus Ihse Bursie
d5b5059af5 8244653: Suppress gcc 9.1 ABI change notes on aarch64
Reviewed-by: kbarrett
2020-05-08 14:10:36 +02:00
Erik Joelsson
4df99aa7ae 8226346: Build better binary builders
Reviewed-by: tbell
2019-12-13 08:27:51 -08:00
Erik Joelsson
0a73d5b7b1 8233410: Better Build Scripting
Reviewed-by: tbell, jwilhelm
2019-12-12 15:38:36 -08:00
Bob Vandette
c17ed6a5e5 8239563: Reduce public exports in dynamic libraries built from JDK static libraries
Reviewed-by: dholmes, ihse
2020-02-27 11:36:55 -05:00
Magnus Ihse Bursie
6b487c3cfe 8240866: Typo in JDK-8240820 messes up configure --help
Reviewed-by: erikj
2020-03-11 22:25:18 +01:00
Magnus Ihse Bursie
441e16e2db 8240820: Replace AC_ARG_ENABLE with UTIL_ARG_ENABLE
Reviewed-by: erikj
2020-03-11 08:34:14 +01:00
Magnus Ihse Bursie
9b9830ced7 8218480: Automatically add -Werror in FLAGS_COMPILER_CHECK_ARGUMENTS
Reviewed-by: erikj
2020-02-06 13:38:57 +01:00
Magnus Ihse Bursie
ce28a96c28 8238281: Raise minimum gcc version needed to 5.0
Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
2020-02-05 10:45:39 +01:00
Matthias Baesken
e438fb4c62 8236714: enable link-time section-gc for linux to remove unused code
Reviewed-by: erikj, ihse
2020-01-24 10:16:35 +01:00
Matthias Baesken
2ff87c63e3 8236274: remove obsolete -d2Zi+ debug flag in MSVC builds
Reviewed-by: erikj, redestad
2020-01-02 14:38:37 +01:00
Matthias Baesken
70671882dd 8234525: enable link-time section-gc for linux s390x to remove unused code
Reviewed-by: erikj, mdoerr
2019-11-27 10:07:29 +01:00
Christoph Göttschkes
c9cfa99719 8234535: Cross compilation fails due to missing CFLAGS for the BUILD_CC
Reviewed-by: erikj
2019-11-26 10:00:33 +01:00
Magnus Ihse Bursie
2dbe87fc45 8233383: Various minor fixes
Reviewed-by: erikj
2019-11-04 11:15:45 +01:00
Erik Joelsson
0b33bc1617 8232748: Build static versions of certain JDK libraries
Reviewed-by: ihse, bobv
2019-10-29 12:01:14 -07:00
Magnus Ihse Bursie
21585ebcdf 8232770: Enable more warnings on solaris studio
Reviewed-by: erikj
2019-10-23 09:48:46 +02:00
Matthias Baesken
b7821ad399 8224214: [AIX] Remove support for legacy xlc compiler
Reviewed-by: erikj, kbarrett, mdoerr, dholmes
2019-08-30 09:37:41 +02:00
Matthias Baesken
9bba8fb124 8228426: xlc: switch to clang-style warning disabling
Reviewed-by: clanger, mdoerr
2019-07-19 11:09:41 +02:00
Matthias Baesken
bb96156548 8227389: Remove unsupported xlc16 compile options on aix
Reviewed-by: clanger, mdoerr
2019-07-08 13:29:02 +02:00
Matthias Baesken
3bb469aa4f 8227171: provide function names in native stack trace on aix with xlc16
Reviewed-by: stuefe
2019-07-03 13:34:10 +02:00
David Holmes
03428d73fc 8224087: Compile C code for at least C99 Standard compliance
Reviewed-by: simonis, aph, erikj, serb, stuefe
2019-05-22 21:50:16 -04:00
Matthias Baesken
ef5194182f 8130017: use _FORTIFY_SOURCE in gcc fastdebug builds
Reviewed-by: erikj
2019-05-14 10:21:55 +02:00
Erik Joelsson
03a9d5ad60 8223309: test failing due to self-assign-overloaded
Co-authored-by: Johan Vos <johan.vos@gluonhq.com>
Reviewed-by: tbell
2019-05-03 09:34:02 -07:00
Man Cao
c73580342f 8220388: Increase -inlinehint-threshold for Clang to avoid G1 pause time regression
Make Clang inline more aggressively for functions with inline keyword

Reviewed-by: erikj, jiangli, shade
2019-03-08 18:21:52 -08:00
Erik Joelsson
4b898b7aae 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
Reviewed-by: tbell, ysuenaga
2019-04-10 07:04:35 -07:00
Matthias Baesken
d9463e629e 8218965: aix: support xlclang++ in the compiler detection
Reviewed-by: ihse, mdoerr
2019-02-19 09:02:28 +01:00
Erik Joelsson
4aeeb2f045 8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle cross-compilation
Reviewed-by: ihse
2019-02-05 09:56:19 -08:00
Matthias Baesken
74f9ec23e3 8217233: Update build settings for AIX/xlc
Reviewed-by: clanger, sgroeger
2019-01-16 10:13:49 +01:00
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +01:00
Henry Jen
776ef6a071 Merge 2019-01-15 10:55:26 -08:00
Erik Joelsson
7487daf211 8215400: Warn on usage of trampolines with gcc
Reviewed-by: tbell, kbarrett
2019-01-07 10:00:41 +01:00
Jesper Wilhelmsson
67abf1eef9 Merge 2019-01-08 07:29:13 +01:00
Matthias Baesken
3cda678c2b 8215296: do not disable c99 on Solaris
Reviewed-by: dholmes, ihse
2018-12-17 13:47:22 +01:00
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Magnus Ihse Bursie
73e93bdd5d 8211029: Have a common set of enabled warnings for all native libraries
Reviewed-by: erikj
2018-09-24 19:26:48 +02:00
Magnus Ihse Bursie
09a967ab81 8210988: Improved handling of compiler warnings in the build
Reviewed-by: erikj
2018-09-21 21:35:12 +02:00
Magnus Ihse Bursie
34b212d77a 8199552: Update to build scripts
Reviewed-by: jwilhelm, mschoene, rhalade
2018-09-13 01:49:48 +02:00
Magnus Ihse Bursie
481a045635 8210920: Native C++ tests are not using CXXFLAGS
Reviewed-by: tbell, erikj
2018-09-20 08:59:03 +02:00
Severin Gehwolf
b1375858c6 8210416: [linux] Poor StrictMath performance due to non-optimized compilation
Compile fdlibm with -O2 -ffp-contract=off on gcc/clang arches.

Reviewed-by: aph, erikj, dholmes, darcy, ihse
2018-09-17 10:53:56 +02:00
Thomas Schatzl
bdfda4e19b 8208672: Enable -Wreorder in make files for gcc, clang
Reviewed-by: dholmes, ihse
2018-08-08 15:31:07 +02:00
Severin Gehwolf
3aa10b4fab 8207057: No debug info for assembler files
Generate debug info for assembler files as needed.

Reviewed-by: erikj
2018-07-12 16:28:31 +02:00
Martin Buchholz
5ef2f98d35 8205649: Make clang stack flags independent of OS
Reviewed-by: erikj
2018-06-25 20:58:01 -07:00
Thomas Stuefe
8c5dfa21b3 8205407: [windows, vs<2017] C4800 after 8203197
Reviewed-by: tbell, mbaesken
2018-06-20 17:15:16 +02:00
Gary Adams
592bda102d 8205110: Fix xchip warnings with new Solaris toolchain
Reviewed-by: ihse, erikj
2018-06-19 07:14:49 -04:00
Thomas Stuefe
f5f4f34a5b 8204935: [aix] TOC overflow in libjvm.so (release build)
Reviewed-by: goetz, mbaesken, ihse
2018-06-13 07:53:27 +02:00
Thomas Stuefe
6cc62b8689 8202325: [aix] disable warnings-as-errors by default
Reviewed-by: goetz, erikj, ihse
2018-04-26 15:41:48 +02:00
Robin Westberg
2dfa53af63 8199736: Define WIN32_LEAN_AND_MEAN before including windows.h
Reviewed-by: erikj, ihse, kbarrett, dholmes
2018-04-09 10:09:38 +02:00
Jesper Wilhelmsson
82847e4ec0 Merge 2018-04-06 03:53:28 +02:00
Magnus Ihse Bursie
2c292c30b2 8200357: Inline SoundLibraries.gmk into Lib-java.desktop.gmk
Reviewed-by: stuefe, erikj
2018-03-28 21:00:09 +02:00
Robin Westberg
46c6ae35c4 8199619: Building HotSpot on Windows should define NOMINMAX
Reviewed-by: erikj, kbarrett, ihse
2018-03-28 15:30:43 +02:00
Magnus Ihse Bursie
b86d96a381 8199405: Bump lowest supported gcc to 4.8
Reviewed-by: erikj
2018-03-09 19:12:07 +01:00
Magnus Ihse Bursie
155a105d79 8199347: Always use -Z7 for debug symbols when compiling on Windows
Reviewed-by: erikj
2018-03-09 00:28:50 +01:00
Magnus Ihse Bursie
97a42c860f 8199331: Don't limit debug information for fastdebug JDK native libraries
Reviewed-by: erikj
2018-03-08 18:51:31 +01:00
Magnus Ihse Bursie
daea65318e 8199338: Use -g0 on solstudio also for compiling C programs
Reviewed-by: erikj
2018-03-08 18:46:37 +01:00
Magnus Ihse Bursie
b64d0ef66d 8198724: Refactor FLAGS handling in configure
Reviewed-by: erikj
2018-03-02 10:59:25 +01:00