FreeBSD Bugzilla – Attachment 244846 Details for
Bug 273789
textproc/libxml2: fix build with lld 17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
textproc/libxml2: fix build with lld 17
textproc__libxml2-fix-lld17-build-1.diff (text/plain), 1.03 KB, created by
Dimitry Andric
on 2023-09-14 17:06:58 UTC
(
hide
)
Description:
textproc/libxml2: fix build with lld 17
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-09-14 17:06:58 UTC
Size:
1.03 KB
patch
obsolete
>commit bd0a9c5f11b9cae00a80699410a29c67218b7562 >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2023-09-14 19:04:19 +0200 > > textproc/libxml2: fix build with lld 17 > > Many symbols in the linker version script libxml2.syms are only defined > when --with-xptr-locs is enabled at configure time. Since version > scripts do not support conditionals, suppress errors with lld >= 17 due > to these undefined symbols. > >diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile >index 831f09d9079f..368d7a804dae 100644 >--- a/textproc/libxml2/Makefile >+++ b/textproc/libxml2/Makefile >@@ -30,6 +30,11 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/share/ \ > --with-lzma=/usr \ > --${LIBXML2_SLAVE:Dwith:Uwithout}-python${LIBXML2_SLAVE:D=${PYTHON_CMD}:U} > >+# Many symbols in the linker version script libxml2.syms are only defined when >+# --with-xptr-locs is enabled at configure time. Suppress errors with lld >= 17 >+# due to these undefined symbols. >+LDFLAGS+= -Wl,--undefined-version >+ > INSTALL_TARGET= install-strip > TEST_TARGET= check >
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 273789
: 244846