Bug 223834

Summary: java/openjdk8: Powerpc64 build fails due to missing system header (sys/sysinfo.h)
Product: Ports & Packages Reporter: Curtis Hamilton <hamiltcl>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: Closed FIXED    
Severity: Affects Some People CC: glewis, powerpc
Priority: --- Flags: bugzilla: maintainer-feedback? (java)
Version: Latest   
Hardware: powerpc   
OS: Any   
Attachments:
Description Flags
Patch to fix missing headers none

Description Curtis Hamilton 2017-11-24 04:37:53 UTC
Created attachment 188233 [details]
Patch to fix missing headers

Build fails under GCC 5 and above due to missing header <sys/sysinfo.h>, where you only receive a warning under GCC 4.9 and below.

The attached patch fixes this, as well as, added missing include "os_bsd.inline.hpp".
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-08 18:44:16 UTC
A commit references this bug:

Author: glewis
Date: Sat Dec  8 18:43:56 UTC 2018
New revision: 486976
URL: https://svnweb.freebsd.org/changeset/ports/486976

Log:
  . Fix compilation on powerpc64

  PR:		223834
  Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>

Changes:
  head/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp
Comment 2 Greg Lewis freebsd_committer freebsd_triage 2018-12-08 18:44:42 UTC
Thanks Curtis!  Patch committed.