Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2023 18:25:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 274108] devel/libnotify: fix build with lld 17
Message-ID:  <bug-274108-39348-NnoXBm8ZrS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274108-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274108-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274108

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

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D50e1b669d76a12aab4bc9646261cd42=
6847dc825

commit 50e1b669d76a12aab4bc9646261cd426847dc825
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-11-26 18:09:08 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-11-26 18:21:23 +0000

    devel/libnotify: fix build with lld 17 (take 2)

    The fix for bug 274108 broke running the notify-send command, resulting
    in:

      ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "envir=
on"

    This is because libnotify uses the same linker version script for both
    its libnotify.so shared library and for its notify-send executable.

    The linker version script places all symbols that do not begin with
    "notify_" into the local scope, making them effectively hidden. This is
    fine for a shared library, but not for an executable, since it will also
    hide the symbols "environ" and "__progname", which are required for most
    programs.

    Fix it by not using the linker version script for the notify-send
    executable, so no required symbols are hidden.

    PR:             275104, 274108
    MFH:            2023Q4

 .../libnotify/files/patch-libnotify_meson.build (new)  | 18 ++++++++++++++=
++++
 1 file changed, 18 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274108-39348-NnoXBm8ZrS>