Commit Graph

475 Commits

Author SHA1 Message Date
kurt
975eeee136 Clang 13 doesn't like when you use 'this' as tagged pointer. It optimizes
away the bit twiddling. Work around this by setting all accessor methods to
no-inline and where that wasn't sufficient, reduce optimization level to
-O1 to prevent clang from optimizing away code that is needed.
2022-01-08 15:05:30 +00:00
kurt
5857572c37 Clang 13 doesn't like when you use 'this' as tagged pointer. It optimizes
away the bit twiddling. Work around this by setting all accessor methods to
no-inline and where that wasn't sufficient, reduce optimization level to
-O1 to prevent clang from optimizing away code that is needed.
2022-01-05 23:15:48 +00:00
rsadowski
268e730be9 HTTPS and ant version tweak
- switch to HTTPS (REVISION bump)
- fix apache ant version usage. 1.9.7 != 1.9.3

Maintainer timeout
2021-12-22 11:05:12 +00:00
kurt
d24536cb39 Remove jdk-16. 2021-11-18 15:58:32 +00:00
kurt
5327ec425b Fix a segfault seen with clang 13 in synchronizer.cpp by
reducing optimization level for it.
2021-11-08 21:42:16 +00:00
kurt
3c6096d885 Update the aarch64 type fixes to use a different approach that
matches what newer versions of the jdk have implemented.
Also fixes an issue where cvs removed a patch that should
have been modified causing the aarch64 build to fail.
2021-11-02 16:03:06 +00:00
kurt
a8a497da80 Update to 17.0.1 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
https://foojay.io/java-17/?quarter=102021&tab=allissues
https://openjdk.java.net/groups/vulnerability/advisories/2021-10-19
2021-10-31 22:32:51 +00:00
kurt
9d297b765c Update to 11.0.13 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
https://foojay.io/java-11/?quarter=102021&tab=allissues
https://openjdk.java.net/groups/vulnerability/advisories/2021-10-19
* Update cacerts
* Fix many aarch64 implicit conversion failures and other type related
  issues.
2021-10-31 21:16:41 +00:00
kurt
97d90fda55 Update to 8u312 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
https://foojay.io/java-8/?tab=allissues&version=openjdk8u312&quarter=102021
https://openjdk.java.net/groups/vulnerability/advisories/2021-10-19
* Update cacerts
2021-10-31 20:55:28 +00:00
kurt
d11d2fb0cd Fix build with llvm 13. okay naddy@ 2021-10-30 22:48:11 +00:00
kurt
0b1c5328fb * Disconnect devel/jdk/16 from the build
* Update java.port.mk to use jdk/17. No ports are marked
  MODJAVA_VER 16 so nothing needs to be bumped.
* Add @pkgpath devel/jdk/16 to jdk/17/pkg/PLIST so that
  jdk-17 will replace jdk-16 with pkg_add -u.
okay sthen@
2021-10-30 00:31:15 +00:00
kurt
913aa1f39d Connect jdk-17 to build 2021-10-29 18:16:18 +00:00
kurt
cbd3a169cf Import jdk 17.0.0. okay sthen@ ian@ 2021-10-29 18:15:15 +00:00
kurt
9b1dc9835d Enable debug packages. 2021-08-05 15:40:20 +00:00
kurt
fe3a286226 Update to 16.0.2 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-16/?quarter=072021&tab=allissues&version=16.0.2
  https://openjdk.java.net/groups/vulnerability/advisories/2021-07-20
2021-08-05 14:17:54 +00:00
kurt
e5e4234bbd Update to 11.0.12 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-11/?quarter=072021&tab=allissues&version=11.0.12
  https://openjdk.java.net/groups/vulnerability/advisories/2021-07-20
2021-08-05 02:21:41 +00:00
kurt
29fd11f8f4 Update to 8u302 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-8/?tab=allissues&version=openjdk8u302&quarter=072021
  https://openjdk.java.net/groups/vulnerability/advisories/2021-07-20
2021-08-04 22:18:26 +00:00
kurt
1d1d046344 Sparc64 fixes:
* Fix stackghost implementation in frame::sender_pc().
* Fix _flush_reg_windows assembly which corrects Native Memory Tracking
  (NMT) test cases.
* Add stackghost implementations for I7 register.
* Remove .orig patches committed by mistake
2021-07-22 00:12:10 +00:00
kurt
f9217bdae1 Add sparc64 to ONLY_FOR_ARCHS. okay kmos@ 2021-07-15 10:29:19 +00:00
kurt
8e3b13f159 Add support for sparc64. With stackghost pointers from kettenis@
okay kmos@
2021-07-15 10:28:30 +00:00
kurt
71ae88db0d Updated bootjdk's that use new futex system libs. 2021-06-18 19:37:52 +00:00
kurt
2f5010c171 Add 1.8 aarch64 support and 16(+) for future ports that may need it.
okay ian@
2021-05-19 01:39:00 +00:00
kurt
a652cd5798 Add aarch64 support. Thanks to Mikael Urankar for porting bsd aarch64
support over from linux. Also use same naming convention for bootjdk's
as 11 and 16. Print complile output in build log. okay ian@
2021-05-19 01:37:37 +00:00
kurt
c367ca167e Fix missing bootjdk-libs on i386. okay sthen@ 2021-05-08 19:22:32 +00:00
kurt
d95f6668fe Make sure coreutils (gmkdir) and gawk are not found by the configure stage.
Fixes intermittent bulk build failures.
2021-05-07 13:34:30 +00:00
kurt
aae4a8b49a Update to 16.0.1 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-16/?tab=allissues&version=16.0.1
  https://openjdk.java.net/groups/vulnerability/advisories/2021-04-20
2021-05-05 12:30:42 +00:00
kurt
6c79ea67e1 Update to 11.0.11 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-11/?tab=allissues&version=11.0.11
  https://openjdk.java.net/groups/vulnerability/advisories/2021-04-20
2021-05-05 12:30:16 +00:00
kurt
5b261af320 Update to 8u292 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-8/?tab=allissues&version=8u292
  https://openjdk.java.net/groups/vulnerability/advisories/2021-04-20
2021-05-05 12:29:28 +00:00
kurt
184274de92 Add jdk/16 to build 2021-05-04 23:18:31 +00:00
kurt
ef7df40bd6 Import jdk-16.0.0.36.1v0
The OpenJDK SDK software includes tools useful for developing and
testing programs written in the Java programming language and
running on the Java platform.

okay ian@ looks good sthen@
2021-05-04 23:16:47 +00:00
kurt
e07aebd33f Update to 8u282 GA:
* Contains many upstream bug fixes which can be found here:
  https://foojay.io/java-8/?quarter=012021&tab=allissues
  https://openjdk.java.net/groups/vulnerability/advisories/2021-01-19
2021-01-21 19:32:51 +00:00
kurt
5c1c572840 Update to 11.0.10 GA:
* Contains many upstream bug fixes which can be found in the release notes
  here:
  https://foojay.io/java-11/?quarter=102020&tab=allissues&version=11.0.10
  https://openjdk.java.net/groups/vulnerability/advisories/2021-01-19
2021-01-21 19:29:01 +00:00
kurt
b0c7f70842 Fix duplicate files in PFRAGs. okay sthen@ 2021-01-06 14:56:56 +00:00
sthen
716f3e17f6 jdk/1.8: fix "libnet.so: undefined symbol 'socketOptionSupported'" as
found by pamela@ and kmos@.  ok kurt@
2020-11-25 13:22:42 +00:00
kurt
232d110e56 Update to 11.0.9 GA:
* Contains many upstream bug fixes and security fixes which can be found
  in the release notes here:
  https://foojay.io/java-11/?quarter=102020&tab=allissues&version=11.0.9
  https://openjdk.java.net/groups/vulnerability/advisories/2020-10-20
* Backport 11.0.9.1 fix for:
  8250861: Crash in MinINode::Ideal(PhaseGVN*, bool)
  https://bugs.openjdk.java.net/browse/JDK-8250861
2020-11-20 20:49:59 +00:00
kurt
432793b8bd Update to 8u275 GA:
* Contains many upstream bug fixes and security fixes which can be found
  in the release notes here:
  https://foojay.io/java-8/?quarter=102020&tab=highlights
  https://openjdk.java.net/groups/vulnerability/advisories/2020-10-20
* Reduce optimization level of bitMap.cpp to -O1 to fix an undefined
  symbol runtime linking error with clang 10 on i386.
* Fix build due to no support for socket options TCP_KEEPIDLE,
  TCP_KEEPCNT and TCP_KEEPINTVL
2020-11-20 20:48:15 +00:00
kurt
1ff3721471 Update to 8u265 GA 2020-08-03 16:10:25 +00:00
kurt
ce85110c65 Update to 8u262 GA:
* Contains many upstream bug fixes and security fixes which can be found
  in the release notes here:
  https://adoptopenjdk.net/release_notes.html#jdk8u262
  https://openjdk.java.net/groups/vulnerability/advisories/2020-07-14
* Remove reduction of the default compressed class space size now that
  PROT_NONE memory isn't included in RLIMIT_DATA.
2020-07-16 15:47:29 +00:00
kurt
81c70f05bd Update to 11.0.8 GA:
* Contains many upstream bug fixes and security fixes which can be found
  in the release notes here:
  https://adoptopenjdk.net/release_notes.html#jdk11_0_8
  https://openjdk.java.net/groups/vulnerability/advisories/2020-07-14
* Remove reduction of the default compressed class space size now that
  PROT_NONE memory isn’t included in RLIMIT_DATA.
2020-07-16 15:46:49 +00:00
kurt
96cf8b8e49 Fix JVM crash when loading libjsound.so:
java:/usr/local/jdk-11/lib/libjsound.so: undefined symbol
'DAUDIO_GetDirectAudioDeviceCount'
ld.so: java: lazy binding failed!

The JVM does not currently have sound support on OpenBSD.
Change the way that libjsound is disabled to match aix which
also doesn't have sound support.

okay sthen@
2020-05-05 13:35:58 +00:00
kurt
ca9f97a686 Update to 8u252 GA:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:
https://adoptopenjdk.net/release_notes.html#jdk8u252
https://openjdk.java.net/groups/vulnerability/advisories/2020-04-14
* Adjust build-bootjdk target to work with PORTS_PRIVSEP
2020-04-24 14:46:56 +00:00
kurt
69c5385eda Update to 11.0.7 GA:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:

https://adoptopenjdk.net/release_notes.html#jdk11_0_7
https://openjdk.java.net/groups/vulnerability/advisories/2020-04-14

* Remove patches committed upstream
* Fix building without utmpx.h
* Adjust build-bootjdk target to work with PORTS_PRIVSEP
2020-04-22 15:05:17 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
kurt
96e2fe3cb2 Fix build on aarch64 and an upstream bugfix:
* Rebuild bootstrap JDKs due to the recent arm64 syscall ABI change.
* Don't throw IOException if the close(2) failure was due to
  ECONNRESET. From upstream repo.
2020-02-26 02:17:12 +00:00
naddy
11b1187f19 upstream fix for changed handling of include file open failures in
upcoming gmake 4.3; ok kurt@
2020-02-01 15:06:24 +00:00
kurt
2df46a14e2 Update to 8u242:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:

https://adoptopenjdk.net/release_notes.html#jdk8u242
https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14
2020-01-18 17:42:58 +00:00
kurt
6b9894b1e7 Update to 11.0.6+10 GA:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:

https://adoptopenjdk.net/release_notes.html#jdk11_0_6
https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14

* Disable building with debug on i386/aarch64
2020-01-18 00:18:36 +00:00
kurt
5fbb2db630 Add debug package support.
The jdk has options for controlling debug symbol generation. However,
these options don't line up well with our debug package support. Using
--with-native-debug-symbols=internal bloats the jdk package by
including debug info in the jmod's. Using external mode doesn't do
this but results in debug info files and debug links that don't match
our debug package setup. To get decent results the following was done:

* Use --with-native-debug-symbols=external
* Patch the jdk to copy the full bin/lib to the .debuginfo file
  instead of using objcopy --only-keep-debug.
* In post-build move/copy the .debuginfo files over their stripped
  versions.
* Fixup a few cases where the debuginfo file wasn't installed into
  the images directories.
2019-12-17 14:22:30 +00:00
sthen
e506a46e80 Treat DPB_PROPERTIES=parallel as a hint that a port is parallel-safe
for use in regular builds too; if that is present in a port, use
${PARALLEL_MAKE_JOBS} jobs in the build, defaulting to hw.ncpuonline.

Adjust PARALLEL_BUILD=No, this originally seemed intended to be a hint
that a port could NOT handle a parallel build, but current usage is
"don't pass make -jXX because this port has its own way to handle things",
instead change this to a slightly more understandable PARALLEL_MAKE_FLAGS
variable. This defaults to -j${PARALLEL_MAKE_JOBS} but can be reset for
build system requirements as needed (java/libreoffice have their own
mechanism) and is added automatically to MAKE_FLAGS where a build uses
>1 concurrent job.

Based on a diff from / ok espie@ - the default value may want revising
as hw.ncpuonline jobs will be too many in some cases (e.g. machines with
many cores or low RAM), but committing at this stage to avoid further
out-of-tree bikeshedding. If you need to restrict to a lower number of
jobs, set e.g. PARALLEL_MAKE_JOBS=2 in /etc/mk.conf, and please provide
feedback.
2019-12-05 21:18:08 +00:00
tb
be0bab9112 Fix file interaction: load libnio in BsdNativeDispatcher and export
getmntonname0 from libnio.  Fixes scala -howtorun:script breakage
reported by solene.

Patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241317

ok kurt
2019-11-21 17:39:08 +00:00