[Bug 274697] editors/libreoffice: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Oct 2023 19:20:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274697

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

URL:
https://cgit.FreeBSD.org/ports/commit/?id=6338934b7c42825d661bca04efbaef58f9439c70

commit 6338934b7c42825d661bca04efbaef58f9439c70
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-10-24 19:16:35 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-10-24 19:20:05 +0000

    editors/libreoffice: fix build with lld 17

    Building editors/libreoffice with lld 17 results in the following link
    errors:

        ld: error: version script assignment of 'PRIVATE_1.4' to symbol
'_ZN3sal13backtrace_getEm' failed: symbol not defined
        ld: error: version script assignment of 'GLIBCXX_3.4' to symbol
'_ZNSs4_Rep20_S_empty_rep_storageE' failed: symbol not defined

    Upstream fixed this only for Linux with:
   
https://github.com/LibreOffice/core/commit/baddc742c3fe260d20d7924ab134f0fbf179fd85

    Add the same block to the more generic unxgcc.mk makefile, so it gets
    picked up for FreeBSD too.

    PR:     274697
    Author:    Dimitry Andric <dim@FreeBSD.org>

 .../files/patch-solenv_gbuild_platform_unxgcc.mk          | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

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