HomeFreeBSD

editors/libreoffice: fix build with lld 17

Description

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>

Details

Provenance
dimAuthored on Oct 24 2023, 7:16 PM
fluffyCommitted on Oct 24 2023, 7:20 PM
Parents
R11:1ef5f1302169: devel/py-shellingham: update to 1.5.4
Branches
Unknown
Tags
Unknown
Reverted By
R11:628fb375a5d4: editors/libreoffice: revert previous fix for building with lld 17