75 Commits

Author SHA1 Message Date
Greg Lewis
24e7dd6d89 . Unreak CCACHE
PR:		205751
Submitted by:	chris@chrullrich.net
2016-01-21 05:25:44 +00:00
Jung-uk Kim
2edf0a9558 - Partially implement getThreadUserTime() using getrusage(2). Note we can
only get usage for the current thread.  Return -1 if the requested function
is not supported, i.e., user time for other threads, rather than crash. [1]
- Properly implement os::elapsedVTime() using getrusage().  Basically, it is
taken from Linux version.
- Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. [2]

PR:		205523, 205843 [1]
PR:		205544 [2]
2016-01-05 22:39:46 +00:00
Greg Lewis
2813824f6f . Stub implementation of OperatingSystemImpl.
PR:		205229
2016-01-02 09:30:21 +00:00
Jung-uk Kim
f79bce06dd Fix the previous commit. We do not support getThreadUserTime().
PR:		205523
2015-12-23 00:47:12 +00:00
Jung-uk Kim
cafb8745f1 Implement ThreadMXBean.getThreadCpuTime(), etc.
PR:		205523
Submitted by:	will (via bsd-port-dev@openjdk.java.net)
2015-12-23 00:22:15 +00:00
Jung-uk Kim
95a9ce771d Fix build with fmake.
Reported by:	antoine
2015-12-15 06:45:16 +00:00
Jung-uk Kim
fc16b49fe6 Build compilefontconfig.jar and javazic.jar with bootstrap jar. Originally
it was intended to test the newly built JVM, it is not cross-build friendly.

Submitted by:	Eugene M. Zheganin (emz at norma dot perm dot ru)
2015-12-14 23:32:21 +00:00
Jung-uk Kim
37874e5364 Build with sjavac when we are self-hosting to improve build speed. 2015-12-14 23:20:05 +00:00
Jung-uk Kim
e64ae7e938 Allow java/openjdk7 for bootstrapping java/openjdk8. Although we cannot
build OpenJDK7 for ARM yet, there is no need to disallow it at all.
2015-12-14 23:15:09 +00:00
Jung-uk Kim
8d6f3ac3d4 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:05:49 +00:00
Jung-uk Kim
c8b2413599 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:02:49 +00:00
Greg Lewis
eb3bedf698 . Update to 8u66. 2015-12-13 00:50:58 +00:00
Jung-uk Kim
441bb19368 Restore jtreg disappeared in r396353.
PR:		205234
2015-12-11 16:54:22 +00:00
Jung-uk Kim
5b1ddddad1 Work around build failures with Poudriere. We have to limit max heap size
when building 32-bit targets on a 64-bit host for some unknown reason.
2015-12-10 19:37:07 +00:00
Jung-uk Kim
af65c31a00 Fix regression introduced in r372338, i.e., mis-merged fix for JDK-8031581.
PR:		205192
2015-12-10 18:43:51 +00:00
Jung-uk Kim
87463483c6 Add an upstream patch to fix build for some 32-bit platforms, i.e.,
java.lang.OutOfMemroryError.

http://hg.openjdk.java.net/jdk8u/jdk8u/rev/f398f28e3112
2015-12-09 21:23:01 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +00:00
Jung-uk Kim
f4e079e884 Add support for armv6hf. Tested on Raspberry Pi 2 Model B. 2015-10-15 18:01:53 +00:00
Jung-uk Kim
389ecfc20d Clean up and modernize the port. No functional change. 2015-09-29 21:56:28 +00:00
Greg Lewis
801e7630ce . Add support for armv6.
PR:		201308
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	sbruno
2015-09-29 14:54:56 +00:00
Jung-uk Kim
044e9e0d8b Do not build unnecessary targets to reduce build time. 2015-09-16 05:39:29 +00:00
Greg Lewis
68ee2ea98b . Switch to xz for the new remote patches to decrease download size. 2015-09-09 09:39:30 +00:00
Greg Lewis
74dbe676ce . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk8 in the ports repository.
2015-09-08 05:04:25 +00:00
Greg Lewis
519117c04b . Update to 8u60. 2015-09-07 09:41:49 +00:00
Jung-uk Kim
139ceeaf09 Fix few more mismerges in the previous update. 2015-07-20 22:10:17 +00:00
Jung-uk Kim
1ee26da0bb Tidy up couple of problems in the previous update. 2015-07-20 21:16:09 +00:00
Greg Lewis
8088e0cda1 . Update to 8u51. 2015-07-19 14:23:54 +00:00
Greg Lewis
2722598f71 . The test target wants jtreg binaries to be found one directory up. Allow
that to be the case.
2015-07-05 00:45:08 +00:00
Greg Lewis
d5b14ed39b . Fix BSD detection in the langtools test infrastructure. 2015-07-05 00:41:37 +00:00
Jung-uk Kim
fd492a9fe5 - Fix broken preprocessor directives.
- Use sysctl(3) instead of procfs(5) when we need executable path from PID.

MFH:		2015Q3
2015-07-02 18:17:12 +00:00
Jung-uk Kim
e25f3cb0e6 Fix the previous commit. Forgot to remove #'s before committing. :-( 2015-05-19 22:16:23 +00:00
Jung-uk Kim
75c6d35b75 Do not use static libjli for stable/10 and head. This complements PR193009.
Re-apply r381431 while I am here.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2015-05-19 22:13:51 +00:00
Greg Lewis
6e15254a68 . Update to 8u45. 2015-05-06 07:03:53 +00:00
Bryan Drewery
90ddbe7045 Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.

This is discussed at https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html

It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.

With hat:	portmgr
2015-04-15 15:30:07 +00:00
Jung-uk Kim
cd50a3fd95 Set rpath for libawt_xawt.so as we do for libawt.so and libawt_headless.so.
Optimize fontconfig.properties while I am here.
2015-04-01 17:32:17 +00:00
Jung-uk Kim
7580e924ad Tidy up default fontconfig.properties. 2015-03-24 21:17:51 +00:00
Jung-uk Kim
74a9a89a8d Catch up with font directory changes. 2015-03-24 00:56:47 +00:00
Jung-uk Kim
d0b0657655 Clean up patches again. No functional change. 2015-03-16 18:53:10 +00:00
Greg Lewis
72d2e02134 . Update to 8u40. 2015-03-15 21:30:04 +00:00
Jung-uk Kim
6a5bb1c2f8 - Revert all damages done in r372338 and r379049.
- Really fix non-release builds. [1]

PR:		193009 [1]
2015-02-27 06:54:30 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Jung-uk Kim
ea9a2868cf Remove redundant linker options added in r379049. 2015-02-16 23:48:19 +00:00
Greg Lewis
2c4da2b583 . Fix the DEBUG build.
PR:		193009
Submitted by:	Brian Gardner (openjdk@getsnappy.com)
2015-02-15 21:18:12 +00:00
Greg Lewis
64f02c86a0 . Attempt to fix the build on 8.x amd64 by telling the HotSpot compilation
not to treat warnings as errors.

Reported by:	mat@
2015-02-05 03:13:05 +00:00
Greg Lewis
3bc2661ea9 . Update to 8u31. 2015-02-02 06:27:11 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Antoine Brodin
c6faa705a5 Update graphics/giflib to 5.0.5
Differential Revision:	https://reviews.freebsd.org/D1361
Submitted by:	bapt
Reviewed by:	self
Exp-run by:	self
2015-01-14 18:19:32 +00:00
Antoine Brodin
2fde215147 Allow building with either giflib 4.2 or 5.0 2014-12-27 07:37:59 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Jung-uk Kim
73bb14c0e3 Add an upstream patch to remove adlc's unused class FileBuffRegion.
https://bugs.openjdk.java.net/browse/JDK-8041620

Note this is an attempt to fix build with upcoming Clang 3.5.

Obtained from:	jdk9
2014-12-16 00:25:58 +00:00