[Bug 252307] dlopen (without RTLD_GLOBAL) overrides weak symbols in libc

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 09:11:50 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252307

--- Comment #4 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=1d2af6e08958ac78de9fae727283ac8cdaf8705f

commit 1d2af6e08958ac78de9fae727283ac8cdaf8705f
Author:     Alex S <iwtcex_at_gmail.com>
AuthorDate: 2021-07-26 09:06:49 +0000
Commit:     Gerald Pfeifer <gerald_at_FreeBSD.org>
CommitDate: 2021-07-26 09:10:27 +0000

    emulators/wine: Invoke with LD_BIND_NOW and revampe WoW

    Wine 6.0 and later need LD_BIND_NOW / LD_32_BIND_NOW on FreeBSD,
    cf. https://bugs.winehq.org/show_bug.cgi?id=50257 and
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252307
    so move the actual binaries to wine64.bin / wine.bin and invoke
    them via a script that does those settings.

    Also revamp the WoW handling/packging which combines 32-bit/i386
    Wine into 64-bit/amd64 Wine.

    Submitted by:   Alex S <iwtcex_at_gmail.com>
    PR:             257284, 252307

 emulators/wine/Makefile            | 10 +++++++++
 emulators/wine/pkg-plist           |  8 ++++++--
 emulators/wine/pkg32.sh (new)      | 13 ++++++++++++
 emulators/wine/wine-wow64.sh (new) | 42 ++++++++++++++++++++++++++++++++++++++
 emulators/wine/wine.sh (new)       | 14 +++++++++++++
 5 files changed, 85 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 26 2021 - 09:11:50 UTC

Original text of this message