https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276135
--- Comment #2 from [email protected] ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=b6807b43f161c18a6d7a5642f817e4bff858d33a
commit b6807b43f161c18a6d7a5642f817e4bff858d33a
Author: Dimitry Andric <[email protected]>
AuthorDate: 2024-01-05 23:28:08 +0000
Commit: Dimitry Andric <[email protected]>
CommitDate: 2024-01-06 08:30:56 +0000
devel/libgudev: fix build with clang 18
Clang 18 no longer accepts -export-dynamic, which is a linker option,
resulting in an error building devel/libgudev:
cc -o gudev/libgudev-1.0.so.0.3.0
gudev/libgudev-1.0.so.0.3.0.p/meson-generated_.._gudevenumtypes.c.o
gudev/libgudev-1.0.so.0.3.0.p/gudevclient.c.o
gudev/libgudev-1.0.so.0.3.0.p/gudevdevice.c.o
gudev/libgudev-1.0.so.0.3.0.p/gudevenumerator.c.o -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group
-Wl,-soname,libgudev-1.0.so.0 -fstack-protector-strong -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/local/lib
-Wl,-rpath-link,/usr/local/lib -export-dynamic
-Wl,--version-script,/wrkdirs/share/dim/ports/devel/libgudev/work/libgudev-237/libgudev-1.0.sym
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libudev.so -Wl,--end-group
cc: error: unknown argument: '-export-dynamic'
Fix this by using the correct spelling, -Wl,--export-dynamic.
PR: 276135
Approved by: x11 (manu)
MFH: 2024Q1
devel/libgudev/Makefile | 3 +++
1 file changed, 3 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.