Summary: | java/openjdk8 - Build Fails | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Ryan Frederick <ryanrfrederick> |
Component: | Individual Port(s) | Assignee: | freebsd-java (Nobody) <java> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | chris, jkim, maciej, ryanrfrederick |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(java) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Ryan Frederick
2015-12-23 16:20:43 UTC
This was caused by r403748, "Build with sjavac when we are self-hosting to improve build speed". Disabling the option added in that commit allows the build to finish. A commit references this bug: Author: jkim Date: Tue Jan 5 22:39:47 UTC 2016 New revision: 405320 URL: https://svnweb.freebsd.org/changeset/ports/405320 Log: - 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] Changes: head/java/openjdk8/Makefile head/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp Reverted r403748 for now, thanks! A commit references this bug: Author: jkim Date: Wed Jan 13 18:13:57 UTC 2016 New revision: 406064 URL: https://svnweb.freebsd.org/changeset/ports/406064 Log: MFH: r405058, r405320 - Stub implementation of OperatingSystemImpl. - 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. - Properly implement os::elapsedVTime() using getrusage(). Basically, it is taken from Linux version. - Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. PR: 205229, 205523, 205544, 205843 Approved by: ports-secteam (feld) Changes: _U branches/2016Q1/ branches/2016Q1/java/openjdk8/Makefile branches/2016Q1/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp branches/2016Q1/java/openjdk8/files/patch-jdk-src-solaris-native-sun-management-BsdOperatingSystem.c |