Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2022 15:18:45 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Jake Freeland <jake@technologyfriends.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Absent Linux Libraries
Message-ID:  <YqeNlbgq%2BIgTE9tm@nuc>
In-Reply-To: <CAOgZAGYVf1r-g6mA4Y9uRWzmC1peCDexx=HEH2cAAr7dOcMoKA@mail.gmail.com>
References:  <CAOgZAGYVf1r-g6mA4Y9uRWzmC1peCDexx=HEH2cAAr7dOcMoKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 13, 2022 at 12:51:48PM -0500, Jake Freeland wrote:
> Hi there,
> 
> I'm in the process of porting Intel's DRM driver testing suite,
> igt-gpu-tools,
> to FreeBSD and I'm not finding some Linux-specific runtime libraries in the
> ports tree.
> 
> The two that I'm having difficulty with are
> * libkmod
> * libprocps
> 
> I've tried querying the pkg database using the pkg-provides pkg plugin:
> `pkg provides libkmod` returns nothing
> `pkg provides libprocps` returns nothing
> I have tried different naming variations and none yield results.
> 
> I don't want to rely on the Linux compatibility layer for these libraries.
> Am I out of luck or am I missing something in plain sight?

As far as I know, those libraries are Linux-specific.  A long time ago I
did a very rough port of that test suite while trying to track down some
bugs in i915kms, and I remember being able to simply stub out references
to those two libraries.  That might be harder to do today, or not.

It might be possible to port those libraries to FreeBSD and make use of
linprocfs since they both use (Linux's) /proc extensively.  But I'm not
sure how much work this would be.  I don't think the Linux compatibility
layer would help here unless you're planning on running everything under
the Linux compatibility layer.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YqeNlbgq%2BIgTE9tm>