Bug 250591

Summary: [NEW PORT] emulators/libc6-shim: ABI-compatible glibc shim
Product: Ports & Packages Reporter: Alex S <iwtcex>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, ericbsd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 250264    
Bug Blocks:    
Attachments:
Description Flags
libc6
none
Synth log none

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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 2020-12-08 02:10:31 UTC
Yeah, that what I have figured out.