Bug 250591 - [NEW PORT] emulators/libc6-shim: ABI-compatible glibc shim
Summary: [NEW PORT] emulators/libc6-shim: ABI-compatible glibc shim
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on: 250264
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-25 04:50 UTC by Alex S
Modified: 2020-12-08 02:10 UTC (History)
2 users (show)

See Also:


Attachments
libc6 (3.06 KB, patch)
2020-10-25 04:50 UTC, Alex S
no flags Details | Diff
Synth log (35.55 KB, text/plain)
2020-10-25 04:50 UTC, Alex S
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex S 2020-10-25 04:50:23 UTC
Created attachment 219049 [details]
libc6

This is the hack that connects wine-proton (bug 250264) to games/linux-steam-utils.

FWIW, the exact port/library name is up for discussion.
Comment 1 Alex S 2020-10-25 04:50:51 UTC
Created attachment 219050 [details]
Synth log
Comment 2 Eric Turgeon freebsd_committer 2020-12-08 01:32:25 UTC
I did test it, and it is working properly. I am building it in poudriere to make sure it builds fine, and after, I will commit emulators/libc6-shim.
Comment 3 Alex S 2020-12-08 01:46:52 UTC
(In reply to Eric Turgeon from comment #2)

> I did test it, and it is working properly.

Hmm... If I may ask, what did you test exactly?
Comment 4 commit-hook freebsd_committer 2020-12-08 01:47:42 UTC
A commit references this bug:

Author: ericbsd
Date: Tue Dec  8 01:47:18 UTC 2020
New revision: 557259
URL: https://svnweb.freebsd.org/changeset/ports/557259

Log:
  New port emulators/libc6-shim

  ABI-compatible glibc shim library

  A shim library providing limited glibc ABI compatibility on top of FreeBSD libc.
  It allows loading shared objects compiled on Linux and dynamically linked to
  glibc into native FreeBSD processes.

  PR:		250591
  Submitted by:	Alex S <iwtcex@gmail.com>
  Reviewed by:	ericbsd

Changes:
  head/emulators/Makefile
  head/emulators/libc6-shim/
  head/emulators/libc6-shim/Makefile
  head/emulators/libc6-shim/distinfo
  head/emulators/libc6-shim/pkg-descr
  head/emulators/libc6-shim/pkg-plist
Comment 5 Eric Turgeon freebsd_committer 2020-12-08 01:50:22 UTC
(In reply to Alex S from comment #3)
Just that it builds on my system and that bin/nv-sglrun and bin/with-glibc-shim command runs properly.
Comment 6 Alex S 2020-12-08 02:06:40 UTC
(In reply to Eric Turgeon from comment #5)

Ah, I see. That won't do anything unless you point it to a suitable application, for example `nv-sglrun vkquake`.
Comment 7 Eric Turgeon freebsd_committer 2020-12-08 02:10:31 UTC
Yeah, that what I have figured out.