Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618868 - Package request: sys-kernel/xnu-headers
Summary: Package request: sys-kernel/xnu-headers
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 19:21 UTC by Yana Luna-Terra
Modified: 2020-12-13 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yana Luna-Terra 2017-05-18 19:21:21 UTC
We need this to get sys-process/lsof under Darwin.

Here are the latest xnu sources (tarball and commit, respectively):

https://opensource.apple.com/tarballs/xnu/xnu-3789.51.2.tar.gz
https://github.com/opensource-apple/xnu/commit/dc0628e187c3148723505cf1f1d35bb948d3195b

Headers can be found under bsd/sys.
Comment 1 Fabian Groffen gentoo-dev 2017-06-20 13:14:44 UTC
This is slightly odd, because the kernel headers should match the running kernel, or do I misunderstand this?
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2017-06-20 13:57:33 UTC
Not sure about Darwin, but for the Linux kernel I've learned that the kernel-headers don't need to match the running kernel version. Found this one now: https://wiki.gentoo.org/wiki/Linux-headers
Comment 3 Yana Luna-Terra 2017-06-20 16:29:02 UTC
As long as kernel is reverse-compatible (which is true for most kernels, including Darwin), one can use newer headers with an older kernel.
Comment 4 Fabian Groffen gentoo-dev 2020-12-13 11:58:03 UTC
I've added this package at some point, and decided to drop it again, the need to come from Xcode.