FreeBSD Bugzilla – Attachment 245851 Details for
Bug 274697
editors/libreoffice: fix build with lld 17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
editors/libreoffice: fix build with lld 17
editors__libreoffice-fix-lld17-build-1.diff (text/plain), 1.66 KB, created by
Dimitry Andric
on 2023-10-24 16:25:25 UTC
(
hide
)
Description:
editors/libreoffice: fix build with lld 17
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-10-24 16:25:25 UTC
Size:
1.66 KB
patch
obsolete
>commit 3be9eb288296f0d1968cdb9020ab34162df615b1 >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2023-10-24T18:20:31+02:00 > > 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. > >diff --git a/editors/libreoffice/files/patch-solenv_gbuild_platform_unxgcc.mk b/editors/libreoffice/files/patch-solenv_gbuild_platform_unxgcc.mk >index 3bac7767ea5d..bb88c812c0eb 100644 >--- a/editors/libreoffice/files/patch-solenv_gbuild_platform_unxgcc.mk >+++ b/editors/libreoffice/files/patch-solenv_gbuild_platform_unxgcc.mk >@@ -1,6 +1,17 @@ >---- solenv/gbuild/platform/unxgcc.mk.orig 2022-12-22 00:14:09 UTC >+--- solenv/gbuild/platform/unxgcc.mk.orig 2023-09-22 19:07:01 UTC > +++ solenv/gbuild/platform/unxgcc.mk >-@@ -55,8 +55,7 @@ gb_CXXFLAGS := \ >+@@ -17,6 +17,10 @@ >+ # the License at http://www.apache.org/licenses/LICENSE-2.0 . >+ # >+ >++ifneq ($(findstring lld,$(USE_LD)),) >++USE_LD += -Wl,--undefined-version >++endif >++ >+ # to block heavy exception handling that try to acquire the solarmutex >+ export LO_LEAN_EXCEPTION=1 >+ >+@@ -55,8 +59,7 @@ gb_CXXFLAGS := \ > gb_CXXFLAGS := \ > $(gb_CXXFLAGS_COMMON) \ > -fPIC \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274697
: 245851