Bug 223834 - java/openjdk8: Powerpc64 build fails due to missing system header (sys/sysinfo.h)
Summary: java/openjdk8: Powerpc64 build fails due to missing system header (sys/sysinf...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 04:37 UTC by Curtis Hamilton
Modified: 2018-12-08 18:44 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (java)


Attachments
Patch to fix missing headers (446 bytes, text/x-c++src)
2017-11-24 04:37 UTC, Curtis Hamilton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.