summaryrefslogtreecommitdiff
path: root/java/openjdk8/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* java/openjdk8: fix build with clang 19Dimitry Andric2024-08-073-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 19 is now more strict about undefined integral expressions used as constants in enum, which results in errors compiling java/openjdk8, similar to: /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:34: error: expression is not an integral constant expression 195 | option_bits_mask = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:42: note: left shift of negative value -1 195 | option_bits_mask = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask)) | ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:27: error: expression is not an integral constant expression 173 | all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:59: note: left shift of negative value -1 173 | all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE), | ^ In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp:43: /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:33: error: expression is not an integral constant expression 226 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:37: note: left shift of negative value -1 226 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^ In openjdk11 and later, the (-1) constants have been replaced by the unsigned variant (~0u), which fixes these errors. PR: 280559 Approved by: glewis (maintainer) MFH: 2024Q3
* java/openjdk8: Update to 8u422Greg Lewis2024-07-276-130/+0
|
* java/openjdk8: allow using DSCR on powerpc64Piotr Kubaj2024-01-025-192/+37
| | | | | DSCR was disabled because of a bug in stable/12. Additionally, remove ELFv1 support.
* java/openjdk8: Update to 8u372Greg Lewis2023-04-292-22/+0
|
* java/openjdk8: Fix use of printf (causes build failures for poudriere)Greg Lewis2023-04-162-0/+22
| | | | | PR: 267690 Obtained from: Michael Osipov <michael.osipov@siemens.com>
* java/openjdk8: commit forgotten patchPiotr Kubaj2023-02-201-0/+50
| | | | Reported by: mikael
* java/openjdk8: Update to 8u362Greg Lewis2023-01-221-16/+0
|
* java/openjdk8: fix build with clang 15Dimitry Andric2022-12-181-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During an exp-run for llvm 15 (see bug 265425), it turned out that java/openjdk8 failed to build with clang 15: /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:64:30: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] INVOKE(SplashLoadMemory, NULL)(pdata, size); ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:60:39: note: expanded from macro 'INVOKE' #define INVOKE(name,def) _INVOKE(name,def,return) ^~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:57:25: note: expanded from macro '_INVOKE' if (!proc) { return def; } \ ^~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:68:28: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] INVOKE(SplashLoadFile, NULL)(filename); ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:60:39: note: expanded from macro 'INVOKE' #define INVOKE(name,def) _INVOKE(name,def,return) ^~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:57:25: note: expanded from macro '_INVOKE' if (!proc) { return def; } \ ^~~ 2 errors generated. Indeed, instead of the pointer value NULL, the integer value 0 should be used. PR: 268223 Approved by: portmgr (tcberner) MFH: 2022Q4
* java/openjdk8: Use the distributed cacertsGreg Lewis2022-11-031-0/+0
| | | | | PR: 266723 Reported by: Michael Osipov <michael.osipov@siemens.com>
* java/openjdk8: Update to 8u342Greg Lewis2022-08-012-28/+0
|
* java/openjdk8: Fix the build on aarch64Greg Lewis2022-05-072-0/+53
|
* java/openjdk8: Update to 8u332 GAGreg Lewis2022-05-041-0/+14
|
* java/openjdk8: Update to 8u312Greg Lewis2021-10-311-24/+0
|
* java/openjdk8: fix runtime issues on powerpc64*Piotr Kubaj2021-09-031-0/+9
| | | | | | 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: 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: Update to 8u302Greg Lewis2021-07-301-18/+0
|
* 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 8u282 GAGreg Lewis2021-01-212-29/+0
| | | | Notes: svn path=/head/; revision=562171
* java/openjdk8: add support for powerpc64lePiotr Kubaj2020-12-032-0/+29
| | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=556937
* Update to 8u272Greg Lewis2020-10-234-71/+0
| | | | Notes: svn path=/head/; revision=553064
* 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 Notes: svn path=/head/; revision=545463
* 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. Notes: svn path=/head/; revision=544076
* 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. Notes: svn path=/head/; revision=543834
* Fix the build for PowerPC64Greg Lewis2020-07-231-0/+14
| | | | | | | Submitted by: Curtis Hamilton Notes: svn path=/head/; revision=542906
* Update to 8u262Greg Lewis2020-07-161-0/+11
| | | | Notes: svn path=/head/; revision=542305
* Don't print the company name in the version infoGreg Lewis2020-07-131-0/+20
| | | | | | | | | | This evidently breaks some software that does parsing of -version output PR: 244634 Submitted by: Stefan Ehmann <shoesoft@gmx.net> Notes: svn path=/head/; revision=542112
* Fix linker errors with libinotify.Jung-uk Kim2020-04-081-0/+17
| | | | | | | | | A patch was mismerged in the previous update. PR: 243454 Notes: svn path=/head/; revision=531145
* Update to 8u242Greg Lewis2020-01-162-47/+0
| | | | | | | Security: https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14 Notes: svn path=/head/; revision=523263
* java/openjdk8: add bootstrap and fix compilation for powerpc64 elfv2Piotr Kubaj2020-01-121-0/+48
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=522831
* Fix line numbers so patch can be appliedGreg Lewis2019-10-231-1/+1
| | | | | | | | PR: 241324 Submitted by: VVD <vvd@unislabs.com> Notes: svn path=/head/; revision=515264
* 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 Notes: svn path=/head/; revision=514691
* Fix file interactionGreg Lewis2019-10-172-5/+27
| | | | | | | | | | | * Load libnio in BsdNativeDispatcher, as per other OSes * Export getmntonname0 from libnio PR: 241317 Submitted by: cmt@ Notes: svn path=/head/; revision=514690
* Update to 8u232Greg Lewis2019-10-162-24/+0
| | | | Notes: svn path=/head/; revision=514570
* Update cacertsGreg Lewis2019-08-201-0/+0
| | | | | | | * Use the latest cacerts file from Oracle's public distribution of 8u221. Notes: svn path=/head/; revision=509441
* Workaround for infinite recursion crashGreg Lewis2019-08-121-0/+12
| | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=508703
* Fix the build for the FONTCONFIG optionGreg Lewis2019-07-241-9/+8
| | | | | | | | | | | * 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 Notes: svn path=/head/; revision=507306
* Fix the build for powerpc64Greg Lewis2019-07-242-0/+167
| | | | | | | | PR: 239368 Submitted by: pkubaj Notes: svn path=/head/; revision=507305
* * Update to 8u212.Greg Lewis2019-04-1928-22775/+13
| | | | | | | | * Change master site to Github * Remove patches and Makefile fixes that have been upstreamed to Github Notes: svn path=/head/; revision=499375
* . Update to 8u202.Greg Lewis2019-02-123-982/+1405
| | | | Notes: svn path=/head/; revision=492778
* . When upgrading to 8u192 the endianess definitions specific to BSD wereGreg Lewis2019-02-091-0/+44
| | | | | | | | | | | missed during a large merge of the configuration file. This resulted in, at least, macros affecting maths operations using the big endian rather than the little endian versions. PR: 234689 Notes: svn path=/head/; revision=492485
* Add a missing symbol in the linker map file.Jung-uk Kim2019-01-181-3/+11
| | | | | | | PR: 234593 Notes: svn path=/head/; revision=490617
* Add a WatchService implementation backed by kqueue,Alex Dupre2018-12-274-0/+64
| | | | | | | | | | | | leveraging the libinotify wrapper. It's still possible to use the polling watchservice, by defining the following system property: sun.nio.fs.watchservice=polling Notes: svn path=/head/; revision=488523
* Add support for millisecond resolution to get/setLastModifiedTimeAlex Dupre2018-12-272-0/+34
| | | | | | | in both Java IO and NIO. Notes: svn path=/head/; revision=488521
* . Fix SCTP support.Greg Lewis2018-12-081-0/+41
| | | | | | | | PR: 230321 Submitted by: Timo Voelker <timo.voelker@fh-muenster.de> Notes: svn path=/head/; revision=486983
* . Fix compilation on powerpc64Greg Lewis2018-12-081-0/+17
| | | | | | | | PR: 223834 Submitted by: Curtis Hamilton <hamiltcl@verizon.net> Notes: svn path=/head/; revision=486976
* . Update to 8u192.Greg Lewis2018-12-085-1099/+1251
| | | | | | | PR: 230364 Notes: svn path=/head/; revision=486973
* - Fix reversed ccache version detection logic. Enable ccache support.Jung-uk Kim2018-11-164-0/+47
| | | | | | | | | | | - Use '-pthread' for Clang. Clang supports '-pthread' on all BSDs except for Darwin. [1] Reported by: Achilleas Mantzios <achill@matrix.gatewaynet.com> [1] Tested by: Achilleas Mantzios <achill@matrix.gatewaynet.com> [1] Notes: svn path=/head/; revision=485094
* . Update to 8u181.Greg Lewis2018-09-083-676/+842
| | | | Notes: svn path=/head/; revision=479258
* . Sync the cacerts file with the version in the latest Oracle binary release.Greg Lewis2018-07-031-0/+0
| | | | Notes: svn path=/head/; revision=473801
* . Update to 8u172.Greg Lewis2018-05-214-749/+739
| | | | Notes: svn path=/head/; revision=470492