Date: Mon, 25 Sep 2023 19:25:11 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274089] devel/gamin: fix build with lld 17 Message-ID: <bug-274089-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274089 Bug ID: 274089 Summary: devel/gamin: fix build with lld 17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Building devel/gamin with lld 17 results in the following link error: cc -shared .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_err= or.o .libs/gam_event.o -lpthread -L/usr/local/lib -fstack-protector-strong -Wl,--version-script=3D./gamin_sym.version -fstack-protector-strong -Wl,-so= name -Wl,libfam.so.0 -o .libs/libfam.so.0.0.0 ld: error: version script assignment of 'global' to symbol 'FAMDebugLevel' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'FAMDebug' faile= d: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) This is because the FAMDebugLevel and FAMDebug symbols are only defined when gamin is configured with --enable-debug, which we have no option for in the port. So fix it by removing the undefined symbols from the linker version script. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274089-7788>