Date: Mon, 13 Jun 2022 18:25:15 -0500 From: Jake Freeland <jake@technologyfriends.net> To: Mark Johnston <markj@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Absent Linux Libraries Message-ID: <CAOgZAGbULLZBcxXZzSP%2B1=AjvjZzyuda=krBZ0sKd0FzCxKzaQ@mail.gmail.com> In-Reply-To: <YqeNlbgq%2BIgTE9tm@nuc> References: <CAOgZAGYVf1r-g6mA4Y9uRWzmC1peCDexx=HEH2cAAr7dOcMoKA@mail.gmail.com> <YqeNlbgq%2BIgTE9tm@nuc>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi Mark, It looks like igt-gpu-tools has changed quite a bit since your modifications were made. I found the remnants of your work on Github before starting my port. I am going to try to work around those libraries for now, but I'll probably end up porting procps and using linprocfs as you suggested. I appreciate the pointers and am thankful to have your old port for direction. Jake Freeland On Mon, Jun 13, 2022 at 2:18 PM Mark Johnston <markj@freebsd.org> wrote: > 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. > [-- Attachment #2 --] <div dir="ltr">Hi Mark,<div><br></div><div>It looks like igt-gpu-tools has changed quite a bit since your modifications were made.</div><div>I found the remnants of your work on Github before starting my port. I am going to try</div><div>to work around those libraries for now, but I'll probably end up porting procps and using</div><div>linprocfs as you suggested.</div><div><br></div><div>I appreciate the pointers and am thankful to have your old port for direction.</div><div><br></div><div>Jake Freeland</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 13, 2022 at 2:18 PM Mark Johnston <<a href="mailto:markj@freebsd.org">markj@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jun 13, 2022 at 12:51:48PM -0500, Jake Freeland wrote:<br> > Hi there,<br> > <br> > I'm in the process of porting Intel's DRM driver testing suite,<br> > igt-gpu-tools,<br> > to FreeBSD and I'm not finding some Linux-specific runtime libraries in the<br> > ports tree.<br> > <br> > The two that I'm having difficulty with are<br> > * libkmod<br> > * libprocps<br> > <br> > I've tried querying the pkg database using the pkg-provides pkg plugin:<br> > `pkg provides libkmod` returns nothing<br> > `pkg provides libprocps` returns nothing<br> > I have tried different naming variations and none yield results.<br> > <br> > I don't want to rely on the Linux compatibility layer for these libraries.<br> > Am I out of luck or am I missing something in plain sight?<br> <br> As far as I know, those libraries are Linux-specific. A long time ago I<br> did a very rough port of that test suite while trying to track down some<br> bugs in i915kms, and I remember being able to simply stub out references<br> to those two libraries. That might be harder to do today, or not.<br> <br> It might be possible to port those libraries to FreeBSD and make use of<br> linprocfs since they both use (Linux's) /proc extensively. But I'm not<br> sure how much work this would be. I don't think the Linux compatibility<br> layer would help here unless you're planning on running everything under<br> the Linux compatibility layer.<br> </blockquote></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgZAGbULLZBcxXZzSP%2B1=AjvjZzyuda=krBZ0sKd0FzCxKzaQ>
