summaryrefslogtreecommitdiff
path: root/java/openjdk8 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* java/openjdk8: Update to 8u322 GAGreg Lewis2022-02-112-5/+5
| | | | This should also fix problems with LLVM/Clang 13
* java/openjdk8: Update to 8u312Greg Lewis2021-10-313-36/+6
|
* java/openjdk*: work around UB in markOopDesc, fix builds with clang 13Dimitry Andric2021-10-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During an exp-run for llvm 13 (see bug 258209), it turned out that java/openjdk11 through openjdk13 fail to build with clang 13: === Output from failing command(s) repeated here === * For target jdk__packages_attribute.done: These crashes are all caused by the markOop/markOopDesc classes, which are used to keep track of objects, and which are 'marked' using the low few bits. (See https://github.com/openjdk/jdk13u/blob/master/src/hotspot/share/oops/markOop.hpp ). After some laborious bisecting, I found out that these crashes start occuring after the upstream commit https://github.com /llvm/llvm-project/commit/16d03818412 (Return "[CGCall] Annotate this argument with alignment"). What happens afterwards, is that clang considers the "this" pointer to always be aligned to the alignment of the actual object, and then masking or adding a few low bits is not working as expected. The reason openjdk14 and higher work fine with clang 13, and don't crash similarly, is that the OpenJDK people completely redid the markOop/markOopDesc classes in https://github.com/openjdk/jdk/commit/ae5615c6142a4dc0d9033462f4880d7b3c127e26 ("8229258: Rework markOop and markOopDesc into a simpler mark word value carrier"). E.g, the markOopDesc class was renamed to markWord, and *stores* a pointer-like value instead of *being* a pointer-like value. This is a much safer way of handling things. However, this upstream commit is *very* large, as are a few of its follow-ups, which is probably the reason why it has not been backported to JDKs <= 13. I tried manually backporting it, but got lost in many nasty patch conflicts and problems. As a workaround, build openjdk8 through 13 with clang12 from the devel/llvm12 port, for the time being. In addition, allow openjdk14 through 17 to be built with clang 13, by adding -Wno-unused-but-set-parameter to the compilation flags. PR: 258954 Approved by: maintainer timeout (2 weeks) MFH: 2021Q4
* java/openjdk8: Add CPE informationBernhard Froehlich2021-09-111-1/+3
| | | | Approved by: portmgr (blanket)
* java/openjdk8: fix runtime issues on powerpc64*Piotr Kubaj2021-09-032-1/+10
| | | | | | Running java or javac executables fails with: Error: dl failure on line 910 Error: failed /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so, because /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so: Undefined symbol "_ZN5frameC1EPlPh"
* java/openjdk8: Switch to server mode on aarch64Mikael Urankar2021-09-011-1/+2
| | | | | | PR: 257929 Approved by: java (maintainer timeout) Tested by: Ronald Klop <ronald-lists@klop.ws>
* java/openjdk8: fix build on powerpc64*Piotr Kubaj2021-08-041-0/+23
| | | | | | | | | | | /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:45:37: error: use of undeclared identifier 'uc_mcontext' frame ret_frame((intptr_t*)uc->>uc_mcontext.mc_gpr[1/*REG_SP*/], ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:88:18: error: redefinition of 'pd_get_top_frame_for_signal_handler' bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) { ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:83:18: note: previous definition is here bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
* java/openjdk8: unbreak TEST=on after 4dca33c0a4a3Jan Beich2021-08-011-0/+2
| | | | | | | | | | | | | $ make checksum WITH=TEST ===> License GPLv2 accepted by the user ===> openjdk8-8.302.08.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openjdk8-8.302.08.1 for building => No SHA256 checksum recorded for jtreg4.1-b08.tar.gz. => No suitable checksum found for jtreg4.1-b08.tar.gz. => SHA256 Checksum OK for battleblow-jdk8u-8.302.08.1-jdk8u302-b08.1_GH0.tar.gz. *** Error code 1 Reported by: Philipp Ost (via ports@ list)
* java/openjdk8: Update to 8u302Greg Lewis2021-07-303-26/+6
|
* java/openjdk8: Fix build on armv6/7Mikael Urankar2021-05-142-0/+42
| | | | | | PR: 255326 Reported by: tech-lists@zyxst.net Approved by: portmgr (tier-2 / build fix blanket)
* Update to 8u292Greg Lewis2021-05-042-5/+5
|
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Replace ${ECHO} with ${ECHO_CMD}.Jung-uk Kim2021-02-191-3/+3
| | | | | | ${ECHO} may be no-op when "make -s" is used. PR: 253588
* Update to 8u282 GAGreg Lewis2021-01-214-34/+5
|
* java/openjdk8: add support for powerpc64lePiotr Kubaj2020-12-033-2/+36
| | | | | | | | | | | | | powerpc64le needs --disable-jfr and USE_PRECOMPILED_HEADER=0 - same as powerpc64 elfv2. Clang refuses to build little-endian binaries for power7, this needs to be bumped to power8 (this is a bug in openjdk, POWER7 is not LE-compatible). -minsert-sched-nops=regroup_exact -mno-multiple -mno-string are not supported by clang and need to be removed. FreeBSD uses sys/endian.h instead of byteswap.h and bswap{16,32,64} instead of bswap_{16,32,64}. PR: 251247 Approved by: java (maintainer timeout)
* Update to 8u275Greg Lewis2020-11-112-6/+5
|
* java/openjdk8: fix build on powerpc64 elfv1Piotr Kubaj2020-11-091-1/+4
| | | | Now elfv1 also fails to build with jfr enabled.
* java/openjdk8: fix build on powerpc64 elfv2Piotr Kubaj2020-10-301-0/+1
| | | | Build with jfr fails on powerpc64 elfv2.
* Fix the build for i386Greg Lewis2020-10-251-0/+2
| | | | | * Disable jfr (at least for the moment) * Bump PORTREVISION so the port will get rebuilt on the package builders
* Update to 8u272Greg Lewis2020-10-236-78/+5
|
* Add upstream patches to build with "-fno-common".Jung-uk Kim2020-08-194-0/+71
| | | | | | | This is default with Clang 11 and GCC 10. https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/41be6128f4c1 https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/d5c69bd5f7ad
* java/openjdk8: fix patching on powerpc64 elfv2Piotr Kubaj2020-08-031-11/+0
| | | | Patching hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp is not necessary anymore.
* Update to 8u265Greg Lewis2020-08-012-5/+5
|
* java/openjdk8: fix patchingPiotr Kubaj2020-07-301-14/+0
| | | | | Remove files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp to fix patching. I'm not sure why this patch was added. Removing it doesn't break build on powerpc64 (both elfv1 and elfv2). There's no include for alloca.h in sharedRuntime_ppc.cpp.
* Fix the build for PowerPC64Greg Lewis2020-07-231-0/+14
| | | | Submitted by: Curtis Hamilton
* Update to 8u262Greg Lewis2020-07-163-6/+16
|
* Don't print the company name in the version infoGreg Lewis2020-07-132-1/+21
| | | | | | | This evidently breaks some software that does parsing of -version output PR: 244634 Submitted by: Stefan Ehmann <shoesoft@gmx.net>
* More accurate vendor informationGreg Lewis2020-07-121-0/+6
| | | | | | | I've tweaked the values suggested in the PR patch. PR: 244634 Submitted by: Michael Osipov <michael.osipov@siemens.com>
* Chanse update of devel/libffiNiclas Zeising2020-07-041-0/+1
| | | | | | | | | | Chase the devel/libffi update Bump portrevision of all dependent ports to chace shard library version bump in libffi. Update LIB_DEPENDS lines where needed to not require a specific version of libffi.so. PR: 247028 (for tracking)
* Update to 8u252Greg Lewis2020-04-152-6/+5
|
* Fix linker errors with libinotify.Jung-uk Kim2020-04-082-0/+18
| | | | | | A patch was mismerged in the previous update. PR: 243454
* Update to 8u242Greg Lewis2020-01-164-53/+5
| | | | Security: https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14
* java/openjdk8: add bootstrap and fix compilation for powerpc64 elfv2Piotr Kubaj2020-01-122-6/+54
| | | | | | | | Since the maintainer didn't respond, I'm adding the bootstrap to my own directory on freefall. PR: 242965 Submitted by: Mikael Urankar (original version) Approved by: java (maintainer timeout)
* Reinstate guidance to have /proc mountedGreg Lewis2019-11-091-1/+4
| | | | | | * Having /proc mounted is not generally critical, but there is at least one piece of functionality that does rely on its presence at the moment (e.g. OperatingSystemMXBean)
* Sprinkle more USES=xorgNiclas Zeising2019-11-071-0/+1
|
* Remove unnecessary use of shebangfixGreg Lewis2019-11-061-3/+1
| | | | | PR: 235453 Submitted by: John Hein <jcfyecrayz@liamekaens.com>
* Fix line numbers so patch can be appliedGreg Lewis2019-10-231-1/+1
| | | | | PR: 241324 Submitted by: VVD <vvd@unislabs.com>
* Fix build with FONTCONFIGGreg Lewis2019-10-171-25/+29
| | | | | | | * This gets the fontconfig patch applying cleanly and building. No idea if it actually works or not. PR: 241294
* Fix file interactionGreg Lewis2019-10-173-5/+28
| | | | | | | | * Load libnio in BsdNativeDispatcher, as per other OSes * Export getmntonname0 from libnio PR: 241317 Submitted by: cmt@
* Update to 8u232Greg Lewis2019-10-164-31/+6
|
* java/openjdk8: Drop nop X11_MAKE_ENV_ONTobias Kortkamp2019-10-101-1/+0
| | | | | Should have been X11_MAKE_ENV. It has been that way since r451167 and this does not seem to have caused any trouble. Just drop it.
* Remove guidance about needing procfsGreg Lewis2019-08-281-4/+1
| | | | | | * Remove portions of pkg-message that mention needing /proc mounted. This hasn't been the case for a while afaik (I don't have it mounted and haven't observed any related problems).
* Update cacertsGreg Lewis2019-08-202-3/+4
| | | | * Use the latest cacerts file from Oracle's public distribution of 8u221.
* Convert to UCL & cleanup pkg-message (categories h-k)Mathieu Arnold2019-08-131-4/+6
|
* Workaround for infinite recursion crashGreg Lewis2019-08-122-0/+13
| | | | | | | | | | * FreeBSD crashes on infinite recursion rather than throwing a stack overflow because the stack address of the fault is in the page below the guard area. Workaround this by rounding down the fault address to the nearest page boundary. Investigation is still under way into what may be causing this but this appears to prevent it in simple test cases. PR: 222146
* Fix the build for the FONTCONFIG optionGreg Lewis2019-07-242-12/+9
| | | | | | | | * Updated the fontconfig.patch file * Simplified FONTCONFIG to use EXTRA_PATCHES rather than a separate target PR: 239358 Submitted by: John Hein <jcfyecrayz@liamekaens.com>, fluffy
* Fix the build for powerpc64Greg Lewis2019-07-242-0/+167
| | | | | PR: 239368 Submitted by: pkubaj
* Update to 8u222Greg Lewis2019-07-192-5/+5
|
* Use USE_GITHUB when appropriate.Mathieu Arnold2019-05-112-8/+8
|